You can't use cf tags in an expression. You could use Iif(). But most
people would simply write
<cfif form["accountft_type_#session.FullReturn[i].id#"]>
<cfset returnResults.account_type =
form["accountft_type_#session.FullReturn[i].id#"]>
<cfelseif form["accountat_type_#session.FullReturn[i].id#"]>
<cfset returnResults.account_type =
form["accountat_type_#session.FullReturn[i].id#"]>
</cfif>
> -----Original Message-----
> From: Tony Weeg [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 10 September 2002 3:08 p.m.
> To: CF-Talk
> Subject: oddity with variables and cfset
>
>
> i know this value is a number 0-9
> and for the life of me i cannot figger
> out why in the heck this won't work?
>
> HELP :)
>
> <cfset returnResults.account_type =
>
> <cfif #form["accountft_type_#session.FullReturn[i].id#"]#>
> #form["accountft_type_#session.FullReturn[i].id#"]#
> <cfelseif #form["accountat_type_#session.FullReturn[i].id#"]#>
> #form["accountat_type_#session.FullReturn[i].id#"]#
> </cfif>
>
> >
>
> ...tony
>
> tony weeg
> [EMAIL PROTECTED]
> www.revolutionwebdesign.com
> rEvOlUtIoN wEb DeSiGn
> 410.334.6331
>
>
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists