> Just tried the following code

>  <cfinput type="radio" value="yes" name="applicant"
>  required="yes"
> message="Please Complete"
> checked="#session.test.applicant#">Yes&nbsp;&nbsp;
> <cfinput type="radio" value="no" name="applicant"
> checked="#session.test.applicant#">No</td>

> Which returns

> Error Occurred While Processing Request
> cannot convert the value "" to a boolean

> Looks as if you cant use

>  checked="#session.test.applicant#" to pre populate radio
>  buttons,

Yeah you can, but it has to be a boolean value... try yesnoformat()

checked="#yesnoformat(session.test.applicant)#"

I'd also make sure that if you're talking about a pair of yes/no radio
buttons that you negate the no button, as it is right now, if
session.test.applicant is true it will attempt to check both the yes
button and the no button.


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218197
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to