Hi All
I have a Order form with a join to a items that can be added dynamicaly(table). Problem is that when i use a javascript event "click" on the items .. their form elements increment so I cannot read them with the following javascript.
var form = Fabrik.getBlock('form_67');
var quote_items___item = form.formElements.get('quote_items___item').get('value');
console.log(quote_items___item)
The reason I wqnt to do this is to populate the Price X Qty from the database when they click on the item.
Is there a better way to do this form in a form.. so stuck.
Thank you in advance
I have a Order form with a join to a items that can be added dynamicaly(table). Problem is that when i use a javascript event "click" on the items .. their form elements increment so I cannot read them with the following javascript.
var form = Fabrik.getBlock('form_67');
var quote_items___item = form.formElements.get('quote_items___item').get('value');
console.log(quote_items___item)
The reason I wqnt to do this is to populate the Price X Qty from the database when they click on the item.
Is there a better way to do this form in a form.. so stuck.
Thank you in advance