Microsoft
Software
Hardware
Network
Question : Validating radio buttons in form
I'm setting up a web site with Joomla, and want to have a form in there where visitors may do a test by answering 20 statements. Doing the form with radio buttons is ok, and processing it with a separate php script is ok. What I can't figure out (due to my lack of knowledge) is how to verify that one of the two radio buttons for each statement is checked. I don't want any of the buttons to be checked at the start (due to influencing answers and to avoid spammers ). A previous question here at EE indicated that a javascript could do this, but I don't know anything (or very little) about javascripts.
I'd be very grateful for some kind of script that verifies that all statements have been answered.
Parts of the form is attached as txt file to show the ieda.
Attachments:
testform.txt
(1 KB)
(File Type Details)
HTML for form
Answer : Validating radio buttons in form
DO NOT replace the name
It is passing the form as an object (called theForm) and no longer needs the name of the form at all
Random Solutions
javascript select menu that outputs the text without a submit button
Combo box on pop up question
my pdc crashed; unable to logon to 2003 servers; can you explain if this is because pdc is down
Outlook 2003 - How Do I Set MS Exchange Server...
What's wrong with my Fahrenheit-converter in JavaScript?
How to test if a control has data
How purge records from access database
Automatically insert document heading into header - MS word
Why is my VB script limiting results to 1500 ?
SQL query help (MySQL)