I have a form that has several radio groups that is used as a multiple choice test for users. Currently the form data is submitted to the educator via email. The poster receives and auto-reply email confirming the test was received. I would like to include the results of the test in the email.
How do I capture the value of each radio group and then add them altogether to get the final score. And then, how do I pass that value to a text box (or something) so that I can include it on the auto-reply email. I have found several articles/tutorial on this type of thing but I don't understand it enough to make it work.
If someone could help, I would be just too greatful.
Novice181249
0
Newbie Poster
Recommended Answers
Jump to PostYou have to use a for loop to scan each group of radio buttons to find out which one has the attribute "checked" being true. Use the index of the loop as the value of the radio button found checked.
Then compare the values checked with the correct values. …
All 3 Replies
MidiMagic
579
Nearly a Senior Poster
Novice181249
0
Newbie Poster
MidiMagic
579
Nearly a Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.