Jump to content

Recommended Posts

Guest Cashster09
Posted

I can't figure out why all my fields are not required. I believe I have the correct coding....My first 3 fields are required correctly, but the fourth (radio buttons), I can't get to be required.

 

any help would be appreciated.

 

http://www.webdrycleaners.com/testerform.html

 

Rich

Posted (edited)

You don't validate radio buttons like that, because both buttons DO have a value, and it will never be equal to empty string ''.

 

ht tp : // javascript. about. com/library/blradio1.htm

 

This article may shed some insight on Radio button validation.

Edited by BeeDev
Guest Cashster09
Posted

thanks,

I just changed it to a dropdown menu and it worked...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...