Use structKeyExists(form,"formElement") Paul
On 18/08/2011, at 6:00 AM, Mo Lay <[email protected]> wrote: > > Hi Guys, > > i need to ask if the #FORM.fieldname# element name existor not inorder to > jump to the next one that exist ? > > > > i am using the following code :FYI : StartDateName22 is a javascript dynamic > generated Textbox > > <cfif not isDefined (#FORM.StartDateName22#)> > <cfoutput> > Elemnt 2,2 is not defined > </cfoutput> > <cfelse> > <cfoutput> > Element 2,2 is defined as: #FORM.StartDateName22# > </cfoutput> > </cfif> > > thank you > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:5470 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
