Hi Sk,
Sorry, but this code feeds from sections before. Section 5 has the following code. But as I say below you can export all the xml which has code for this demo: Download Demonstration XML Export - Import into your module
I copied section 4 code below
Section 4--Would You like to add additional fees?
if(isNaN($(TotalExtraonkeypress))){
$(TotalExtraonkeypress) = '0';
}
else
{
$(GrandTotalHidden) = formatCurrency(eval(parseFloat($(TotalExtraonkeypress)) + parseInt($(TotalRadio)) + parseInt($(TotalbyQuantity)) + parseInt($(total)) + parseFloat($(checktotal))))
document.getElementById
('GrandTotal').innerHTML = '
Your grand total comes to: ' + formatCurrency($(GrandTotalHidden)) + '';
}
Section 5--Grand Total -- is hard to figure what you want but
You can download the whole thing through the following link:
http://www.datasprings.com/products...lculations Go to the bottom and export the XML for this module:
Download Demonstration XML Export - Import into your module
Then you can import the code into a test dynamic forms module.
Let me know how it goes. I have done it and I have all the JS code in the fields but something is still off for me as well.
Thanks