programmher
Programmer
I have a date variable on one form. Below is the code:
<TD> <INPUT type="text" name="location_to" maxLength="15" value="<cfoutput>#DateFormat(DateRequested, "mm/dd/yyyy"
#</cfoutput>">
This field is automatically updated when the user selects a date from the calendar on the page.
My problem occurs when I attempt to pass the value of the DATEREQUESTED field to the appropriate field.
Here is how I am passing the variable. The dates correctly appears in my URL:
<cfform action="Cal2.cfm?daterequest=#DatePart('m', DateRequested)#/#DatePart('d', DateRequested)#/#DatePart('yyyy', DateRequested)#" method="POST" enablecab="Yes">
This is the code on my receiving page:
<TD valign="top"> <b>LOCATION TO:</b> </TD>
<TD> <input type="text" name="location_to" value= </TD>
No matter what I put in the value field, I can not get my date to correctly appear! Can any lend assistance?!? I am at my wit's end!
<TD> <INPUT type="text" name="location_to" maxLength="15" value="<cfoutput>#DateFormat(DateRequested, "mm/dd/yyyy"
This field is automatically updated when the user selects a date from the calendar on the page.
My problem occurs when I attempt to pass the value of the DATEREQUESTED field to the appropriate field.
Here is how I am passing the variable. The dates correctly appears in my URL:
<cfform action="Cal2.cfm?daterequest=#DatePart('m', DateRequested)#/#DatePart('d', DateRequested)#/#DatePart('yyyy', DateRequested)#" method="POST" enablecab="Yes">
This is the code on my receiving page:
<TD valign="top"> <b>LOCATION TO:</b> </TD>
<TD> <input type="text" name="location_to" value= </TD>
No matter what I put in the value field, I can not get my date to correctly appear! Can any lend assistance?!? I am at my wit's end!