HTML form radio button validation?

  • Thread starter Thread starter JayNL
  • Start date Start date
J

JayNL

Guest
Hi,

I have a form made in HTML, once a selection is made (radio button or text field filled out) users click on the "next step" button, the page automatically scrolls down to the next step etc.

I want to link a radio button validation to the "Next Step" button but i can't figure out how. All i can do is add validation to the final "Submit" button. The reason why i want to do this is to prevent users from going to the next step unless they make a selection.

How can i make this happen, is there any code i can use for this ?

Jay
 
Back
Top