Solved

Requiring Radio Buttons & Checkboxes

Posted on 2004-03-29
6
307 Views
Last Modified: 2008-03-06
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
Comment
Question by:CynderWolve
6 Comments
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 10707503
Post your Form Code and Define Field Requirement.
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10708410
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
 

Author Comment

by:CynderWolve
ID: 10724790
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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Expert Comment

by:nriddock
ID: 10744559
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
 
LVL 2

Accepted Solution

by:
g8tor23 earned 125 total points
ID: 10752724
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
 

Author Comment

by:CynderWolve
ID: 10833489
I love that validation extension!  And it works so easily!  Thanks!
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question