I am trying to see if a particular dynamic variable is defined... but having trouble
building the ifDefined argument.
Form.SerNum1
Form.SerNum2
Form.SerNum3 ...etc. are built dynamically and then passed to an action form below
like below.
<-cfloop index="i" from="1" to="#theSerNums.RecordCount#">
<-cfif isDefined("Form.SerNum#i#")>
DoSomething
<-cfelse>
DoSomethingElse
<-/cfif>
<-/cfloop>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm