Hi Guys,
is there a way to ask if the #FORM.fieldname# exist to proceed with the next one ?
FYI : StartDateName22 is a dynamic generated textbox
i am using the following code :
<cfif not isDefined (#FORM.StartDateName22#) or #FORM.StartDateName22# or EQ "" >
<cfoutput>
Elemnt 2,2 is not defined
</cfoutput>
<cfelse>
<cfoutput>
Element 2,2 is defined asc: #FORM.StartDateName22#
</cfoutput>
</cfif>
is there a way to ask if the #FORM.fieldname# exist to proceed with the next one ?
FYI : StartDateName22 is a dynamic generated textbox
i am using the following code :
<cfif not isDefined (#FORM.StartDateName22#) or #FORM.StartDateName22# or EQ "" >
<cfoutput>
Elemnt 2,2 is not defined
</cfoutput>
<cfelse>
<cfoutput>
Element 2,2 is defined asc: #FORM.StartDateName22#
</cfoutput>
</cfif>
Comment