I'm designing a form  where I want to have some radio buttons  
preselected based upon the previous screen.
I'm looping through and generating a list similar to:

<li><cfinput type="radio" name="radio#question_seq#"></li>

(where #question_seq# is generated from a database query).

What I want to do is in that list of radio buttons, ad one which will  
have the checked="checked" attribute.

I can't figure out how to do this.
Can anyone point me in the right direction?

My initial try was to attempt a cfif within the cfinput, but that  
didn't work.
If any of you are familiar with XSL you can do this with the  
xsl:attribute tag. That's where I'm coming from.

Thanks
-Jim

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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

Reply via email to