Hi All - I'll retract that - it's working for me now with the following:

<input type="hidden" name="brian_test" value= <cfoutput>#DateFormat(Now())#,
#TimeFormat(Now())#</cfoutput> >

thanks,
Brian



-----Original Message-----
From: Brian Grant 
Sent: April 25, 2002 11:49 AM
To: '[EMAIL PROTECTED]'
Subject: Adding a date into a form as a hidden field


Hi all,

Can you let me know what code I would add onto a form to put in a "hidden
date". Right now I have this ...


<cfset d_date = DateFormat(Now()) > 

then ....

<input type="hidden" name="date_test" value= #d_date#>

... which doesn't work .... is there a way to set the value to today ?

thanks,

Brian


-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: Brian Grant <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to