I have generate HTML for all fields checked! ![]()
I’m having problems with the following code:
var f = document.forms[0];
var p = new Number(f.ProductPrice.value);
var q = new Number(f.Quantity.value);
var total = p * q;
f.LineTotal.value = total;
f.TransactionAmount.value = total;
LineTotal and TransactionAmount are both computed when composed.
In addition, when I use Quantity of 9 and ProductPrice of 10 the editable field gets set to 90 and 90.00.
When I set the fields to computed or computed when composed, the computed values for LineTotal or TransactionAmount don’t come through either.
Help!
Marcus