Solved

Requiring Radio Buttons & Checkboxes

Posted on 2004-03-29
6
304 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:adilkhan
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now