Sorry. I forgot to to wrap it on outputs.
<cfoutput>
<cfloop index="i" from=1 to=6>
<cfif not isdefined("form.StartDateName#i#")>
StartDateName#i# is not defined <br />
<cfelse>
StartDateName#i# is defined<br />
</cfif>
</cfloop>
</cfoutput>
On Thu, Aug 18, 2011 at 9:41 AM, Mo Lay <[email protected]> wrote:
>
>><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>
>>
>>
>>> thoughts ?
>
>
> i tried the above code bt it seems not working . is this has anything to do
> with CF MX 7 i am using ??
>
> thanks
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:5480
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm