I am setting up a registration form where the number of registrants determines the total registration cost. I want to have a field which will display the registration total based on the same combo box which determines how many registration fields will be shown rather than hidden.
I tried putting the following code into the Client Side code in both the combo box and in the hidden field where I would like to put the total.
$(TotalReg) = 4 * $(NoAtt)
When I put it onto the combo box, it initially shows the value then throws an error on the load and resets the combo box to the default value.
When I put the code into the Total box it throws the error and resets the combo box.
Any Ideas?