I am having trouble with this sort of thing:

<cfloop from="1" index="primernum" to="#form.num_custom_primers#">

<cfif (form.selectrestrictionsite1_#primernum# is not "") and
(form.restrictionsite1_#primernum# is not "")>

....

</cfloop>

I am getting invalid CFML constuct errors. It does not appear to like:
form.selectrestrictionsite1_#primernum#

The actual form variable names would be:

form.selectrestrictionsite1_1
form.selectrestrictionsite1_2

form.restrictionsite1_1
form.restrictionsite1_2

etc. as it loops through.

What is the best way to do this?

TNX.

Richard Colman




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:209036
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