I'd strongly recommend then using the readonly flag, but don't give the
field a name. Use a hidden field to contain the date as well as the visible
readonly field. It can't hurt, right?

-----Original Message-----
From: FlashGuy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 11 March 2003 11:47 a.m.
To: CF-Talk
Subject: RE: Inserting date/time stamp

Right, but the idea I was trying to achieve was to keep the "look" the same
(with the <input> field) so it matches the rest of the form.



> From: "FlashGuy" <[EMAIL PROTECTED]>
> >How can I stop people of editing the <input line where I'm dumping the
date? I don't want them to be able to change it.
> >
> ><input type="text" name="theTime" value="<cfoutput>
#DateFormat(todayDate, "dddd, mmmm dd, yyyy")#</cfoutput>" size="30">
> 
> I'd display it as plain text (not in a form field), and do a hidden form
field to send the value through the form.
> 
> <cfoutput> #DateFormat(todayDate, "dddd, mmmm dd, yyyy")#</cfoutput>
> <input type="hidden" name="theTime" value="<cfoutput>
#DateFormat(todayDate, "dddd, mmmm dd, yyyy")#</cfoutput>">
> 
> 
> --------------------------------
> Scott Brady
> http://www.scottbrady.net/
>  
>              
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to