Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 315
  • Last Modified:

Requiring Radio Buttons & Checkboxes

I have a form that I'm developing in DreamWeaver.  I have several fields that I want to make required, but the checkboxes and radio buttons are not showing up in the Validate Form behavior.  How can I do this?
0
CynderWolve
Asked:
CynderWolve
1 Solution
 
Saqib KhanSenior DeveloperCommented:
Post your Form Code and Define Field Requirement.
0
 
mrichmonCommented:
You can manually write some javascript to validate radio buttons and/or checkboxes.

Here is a link on a simple way to do this :
http://tech.irt.org/articles/js027/index.htm

The article is a result of a FAQ of "How can I validate that a check box has been selected, or that one of several radio buttons has been selected in a form?"
0
 
CynderWolveAuthor Commented:
I'm not sure if work would appreciate me posting up the form without cleaning out the details in it - and it's a long form.  :}  So, I'm looking at the response from mrichmon first.  If that doesn't work, I'll post the code.  I may not be able to get back on this until sometime next week, things are hectic here.  
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
nriddockCommented:
visit

http://www.peterbailey.net/fValidate/
http://www.peterbailey.net/fValidate/demo/

the Fvalidate code (javascript) is awesome...i was having the same issue with getting checkboxes/radio buttons to work in DWMX and this one does it all...color coding, syntax checking....you name it.

hope this helps
0
 
Jim MCommented:
Cynder,

this is my favorite validation extension:

http://www.yaromat.com/dw/?ex=Check%20Form%20MX

It does wonders with checkboxes and radio buttons, and lets you write custom error messages EASILY! Works with DMX and DMX 04

Good luck,

-g8tor
0
 
CynderWolveAuthor Commented:
I love that validation extension!  And it works so easily!  Thanks!
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now