Results 1 to 2 of 2
Dec 23, 2008, 01:45 #1
- Join Date
- Dec 2008
- 0 Post(s)
- 0 Thread(s)
validaton of multiple radio buttons in one form
i am doing a php page that have a different questions on degree of performance of a hospital (fair-good - verry good- excellent) and choose between them by radio buttons and in each question u must answer by choosing one radio button under its degree(fair-good - verry good- excellent) and at the end of voting click on submit buttom to send survey
efficiency of reception? O fair O Good O Verry good O Excellent
efficiency of nurses? O fair O Good O Verry good O Excellent
efficiency of doctors? O fair O Good O Verry good O Excellent
efficiency of assistant? O fair O Good O Verry good O Excellent
So what is javascipt for this form validation (script & function) as u must choose one radio button on each question otherwise a box saying u must choose degree(radio button) on each question.
Dec 23, 2008, 02:18 #2
- Join Date
- Jan 2007
- Christchurch, New Zealand
- 61 Post(s)
- 3 Thread(s)
Don't take just my word on this. Head along to the php forum and get their input on this as well.
Do not try for the icing first, because you first need the cake. Get the validation in php done first, then build on top of that.Programming Group Advisor
The 2013 SitePoint Awards - Nominate your heroes now!