Just do it the same way you would a checkbox. Radio buttons don't exist in
the scope unless one was selected either.

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com

-----Original Message-----
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Saturday, May 31, 2008 8:56 AM
To: CF-Talk
Subject: Feels kinda dumb to ask this, but...

I can't quite figure out a test for determining if no radio input
has been selected...

Four radio inputs, none initially checked, all grouped by name.
Form submits back to the page it's on, so there will be a value for the
input.

With a checkbox, I just check for its existence.

But what about a radio input... how to check if none were selected?

<cfif not isSelected('form.purchase_time')>

???

Thanks,

Rick




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306501
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to