bluetoothbj
Member
Dear Sir:
About "Calculating Cost in a repeat group ", there is a code on end of this page :
"var i = this.id.match(/_(\d+)$/)[1];
document.id('join___12___order___total_'+i).value = parseFloat(document.id('join___12___order___qty_'+i).value) * parseFloat(document.id('join___12___order___unit_price_'+i).value);"
Note "Replace '12' with your join id (execute your form and look at the code to find this ID)"
How to "execute your form and look at the code to find this ID".
I don't understand.Could give me a detail instruction to find the join ID?
Many thanks!
About "Calculating Cost in a repeat group ", there is a code on end of this page :
"var i = this.id.match(/_(\d+)$/)[1];
document.id('join___12___order___total_'+i).value = parseFloat(document.id('join___12___order___qty_'+i).value) * parseFloat(document.id('join___12___order___unit_price_'+i).value);"
Note "Replace '12' with your join id (execute your form and look at the code to find this ID)"
How to "execute your form and look at the code to find this ID".
I don't understand.Could give me a detail instruction to find the join ID?
Many thanks!