Solved

Requiring Radio Buttons & Checkboxes

Posted on 2004-03-29
6
303 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
Comment Utility
Post your Form Code and Define Field Requirement.
0
 
LVL 35

Expert Comment

by:mrichmon
Comment Utility
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
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Expert Comment

by:nriddock
Comment Utility
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
Comment Utility
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
Comment Utility
I love that validation extension!  And it works so easily!  Thanks!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

16 Experts available now in Live!

Get 1:1 Help Now