don't use cfform so not 100% sure on this...but try explicitly
assigning values (true | false) to the CHECKED attributes.
<cfinput
type="radio"
value="yes"
name="applicant"
message="Please Complete"
checked="#session.survey.applicant#"
> Yes
On 9/14/05, Ian Vaughan <[EMAIL PROTECTED]> wrote:
> Hi
>
> How do you populate radio buttons in a CFFORM ?
>
> I am getting the error below when using thefollowing code
>
> Invalid token 'C' found on line 493 at column 230.
> The CFML compiler was processing:
>
>
> a cfinput tag beginning on line 493, column 18.
> a cfinput tag beginning on line 493, column 18.
> a cfinput tag beginning on line 493, column 18.
> a cfinput tag beginning on line 493, column 18.
>
>
> This is my code snippet
>
>
> <cfinput type="radio" value="yes" name="applicant" required="yes"
> message="Please Complete" <CFIF SESSION.survey.applicant EQ 'Yes'>
> CHECKED</CFIF>>Yes
> <br />
> <cfinput type="radio" value="no" name="applicant" <CFIF
> SESSION.survey.applicant EQ 'NO'> CHECKED</CFIF> >No
>
>
> Any ideas would be most appreciated
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:218191
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