javascript radio button validation - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

javascript radio button validation

macrat101macrat101 Posts: 1Member
Hi,

I have a simple Kid Quiz form (all unchecked radio buttons) that works perfectly.
On submit, the forms quiz score will take the user to different pages depending on the score.
Currently it uses an "analyzeForm( f )" function ... to tally the score.

I am trying to integrate radio button validation into the "analyzeForm( f )" function, but it's not working.
Here is the validation code ... the lower part is just the first 2 radio button fields. Would someone please give me an example of how to integrate the radio button validation into what is here. Thanks!

Current Working Validation






The First 2 Radio Button Fields

  1. Question 1

    Choice a

    Choice b

    Choice c

    Choice d



  2. Question 2

    Choice a

    Choice b

    Choice c

    Choice d


Sign In or Register to comment.