Try removing the #'s from <cfif not isDefined(#FORM.StartDateName22#)>
Also, remove the space right after isDefined... Rick -----Original Message----- From: Mo Lay [mailto:[email protected]] Sent: Wednesday, August 17, 2011 4:01 PM To: cf-newbie Subject: <cfif isDefine not working !!! 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:5467 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
