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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...