Sorry, just worked it out...

<-cfif isDefined("Form.SerNum"&"#i#")>


At 01:11 PM 11/25/02, you wrote:
>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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to