[ back to toc ]

Creating a Test

Date: 2002/03/11 11:51

Q:
I'm creating a multiple choice and true and false test with radio buttons.
How do I go about having the cgi file grade it with the right
and wrong answers?

I can't get it to distinguish between the right and wrong answers. I think
maybe because the NAME attribute in the HTML file has the same
name for radio buttons and I don't know how to ask it to pull the correct
information for process.

If you need more information, please let me know and I don't mind the
delay as long as I can get a suggestion on what to try.

Thanks in advance for your help.
A:
The name of the radio button is the same, however the value is different.
You have to check the value of the returned radio button in the CGI
program to know which radio button was pressed.

Regards,
Peter

[ back to toc ]