Assume radio buttons are called "test" - then each radio button has an
unique value (at least they should!).  Then, it's just a matter of checking
the value of form.test.

Note: checkboxes are a different animal.  You just need to check for its
existance like:

<cfif isdefined("form.test")>
do something
</cfif>

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server
Get your free copy of iMS POST-SE Server from CoolFusion!

----- Original Message -----
From: "John McCosker" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, March 05, 2001 4:30 PM
Subject: radio buttons ( once and for all )


> Hey could anyone out there tell me a good way to validate radio buttons
> using CF.
>
> Many Thanx in forwardness...
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to