It's working now.  I had been trying to follow an example from the liveDocs but 
using variables[thefield[i]] was much easier.  

Thanks everyone for your help.  Have a good weekend!

> <cfset the_field = listToArray("contact_correspondence,contact_email,
> contact_event_off_camp
> us,")>
> <cfloop index="ii" from="1" to="#arrayLen(the_field)#">
      
> <cfset var1=the_field[ii]>
      
> <cfset variables[var1] = structKeyExists(form,var1)>
 
> 
> <cfoutput>#variables.var1#:#contact_event_off_campus#</cfoutput><br>
> </cfloop>
> 
> I'm not exactly sure what you are trying to accomplish here, but I 
> think you maybe wanting the <cfparam ...> tag.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242078
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