Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.