Novice181249
22 Oct 2007, 01:47 PM
:wall: I have a form that acts as a test for users. The test consists of 20 questions, each of which is multiply choice using radio groups. The radio group options have values, i.e. 2 for the correct answer and 0 for the wrong answer. My form works well and the answers are submitted to an email address that has an auto-reply email to the poster using cgi script.
My problem is this .. I want to be able to get the value from each radio group and add them together thereby determining a total score that I can then include in the auto-reply email. I know how to include the value of form components, i.e. text box in the auto-reply but I don't know how to collect the values of the radio groups, add them together and then pass the total to the text box.
Can anyone help? :wall:
My problem is this .. I want to be able to get the value from each radio group and add them together thereby determining a total score that I can then include in the auto-reply email. I know how to include the value of form components, i.e. text box in the auto-reply but I don't know how to collect the values of the radio groups, add them together and then pass the total to the text box.
Can anyone help? :wall: