Ok, let's assume that your radio button field is named FOO and your text box
is named BAR. Instead of doing a <cfinsert>, you will have to do this one
"by hand":
<cfquery name="doInsert" datasource="whatever">
INSERT INTO someTable (Answer) VALUES ('#iif(FORM.FOO EQ "Other",
DE("#FORM.BAR#"), DE("#FORM.FOO#"))#')
</cfquery>
It might be DE(FORM.FOO) and DE(FORM.BAR), but I always get confused with
the DE() function. Try both forms and see which one works. I'll probably get
flamed for using nested pounds.. *shrug*
-----Original Message-----
From: Sumeet Khanna [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 11, 2000 2:34 PM
To: '[EMAIL PROTECTED]'
Subject: How to do
Can anyone please tell me how to do radio
button validation ,if I want to use
the check "if radio button "Other" is clicked then only
enter Other option text in text box"
Sumee
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.