Hello,
I had some great help from "theniteowl" the other day regarding some javascipt and am hoping he/she or someone else can assist me with this perplexing issue.
I'm working on an online registration form for a summer camp. It's one BIG form. At the bottom there are elements (radio buttons, checkboxes) that take the selected elements, calculates them, and places them in a textbox "Total", "Deposit", "Balance". A javascript does the math.
My problem is that when ANY other radio buttons or checkboxs are selected (eg- O Male O Female), the values for program costs don't appear when selected. There's some conflict. I thought about have two forms... one for the personal data, and one for the cost(numerical) data. However, it seems I can't have one SUBMIT button to cover both forms.
So, my questions are:
1)Can I have one SUBMIT button to send the data from two forms on the same webpage
2)Can I change the variables in the javascript to read ONLY those form elements that requires it... if so... how?
Thanks!
Peter
I had some great help from "theniteowl" the other day regarding some javascipt and am hoping he/she or someone else can assist me with this perplexing issue.
I'm working on an online registration form for a summer camp. It's one BIG form. At the bottom there are elements (radio buttons, checkboxes) that take the selected elements, calculates them, and places them in a textbox "Total", "Deposit", "Balance". A javascript does the math.
My problem is that when ANY other radio buttons or checkboxs are selected (eg- O Male O Female), the values for program costs don't appear when selected. There's some conflict. I thought about have two forms... one for the personal data, and one for the cost(numerical) data. However, it seems I can't have one SUBMIT button to cover both forms.
So, my questions are:
1)Can I have one SUBMIT button to send the data from two forms on the same webpage
2)Can I change the variables in the javascript to read ONLY those form elements that requires it... if so... how?
Thanks!
Peter