Mike,

I'm doing the same thing except I used a select menu to make things easier on 
myself. I have a tblpaymentOptions I can query. Then use that query in the 
select query attribute. 

I run my cfif's up above the form and set a variable called payoptionchecked or 
some such name. It'd = yes or no. 

Then in the selected attribute of the select menu, I put that variable. 

In your case, with an input, could you setup a list of options?

<cfset payOptionList = "Visa, M/C, AMEX">

Then loop over the list, checking the values against your shopper data?

<cfloop list="#payOptionList#" index="thisoption">

<cfoutput>
<input type="radio" name="PaymentMethod" value="#thisoption#" 
Label="#thisoption#"<cfif thisoption EQ "#order.getpaymentmethod()#"> 
checked="true"</cfif>>
</cfoutput>


Did this off the top of my head real quick, so sorry if it doesn't work. lol!

Will



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235724
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to