<cfloop index="i" from=1 to=6>
<cfif not isdefined("form.StartDateName#i#")>
StartDateName#i# is not defined
<cfelse>
StartDateName#i# is defined
</cfif>
</cfloop>
On Wed, Aug 17, 2011 at 2:13 PM, Mo Lay <[email protected]> wrote:
>
> thanks ,
> but i have more than 1 control
>
> in reality i am calling the folowing fieldnames :
>
> from 1 to 6
>
> #FORM["StartDateName#i#2"]#
>
> let suppose i am missing #FORM["StartDateName22"]#, it will skip to the next
> one :
> #FORM["StartDateName32"]# and so on ..
>
>
> thoughts ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5473
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm