How do I add up info for form validation?
Hi there
Could someone help me with the following problem...
I have several dropdown boxes on a page, each containing values from 0 to 10. As the user chooses values from each box I need to add these up in a hidden box to make sure the total value is not 0. If it is 0, then on my submit validation on the page I need an error message to pop up. How can I add each box up onto the page - I think I may need to use OnChange but i'm not sure. Can anyone help?
Cheers
Lucy
|