Hi,
I have the follow code.
<cfinput type="text" name="dtLeave" label="Start:" width="200" required="yes" value="<cfif IsDefined('session.startdate')>1/2/2002</cfif>" validate="date" message="Please enter date format mm/dd/yyyy.">
The problem is the cfif for value does not work. The "<cfif IsDefined('session.startdate')>1/2/2002</cfif" will appear in the field instead of 1/2/2002.
Thanks,
Tim
I have the follow code.
<cfinput type="text" name="dtLeave" label="Start:" width="200" required="yes" value="<cfif IsDefined('session.startdate')>1/2/2002</cfif>" validate="date" message="Please enter date format mm/dd/yyyy.">
The problem is the cfif for value does not work. The "<cfif IsDefined('session.startdate')>1/2/2002</cfif" will appear in the field instead of 1/2/2002.
Thanks,
Tim