Try:

<cfset dateString = "16 May 2008">
<cfoutput>
        #DateFormat(dateString, "ddmmyyyy")#
</cfoutput>

Adrian
http://www.adrianlynch.co.uk/

-----Original Message-----
From: a or [mailto:[EMAIL PROTECTED]
Sent: 16 May 2008 12:03
To: CF-Newbie
Subject: Can CF format a form value on submit ?


Hi,

Is it possible to format a form value on submit using only Cold Fusion ?

I am using a calendar to populate a form field in the following format 16
May 2008.
When I submit the form, I need the URL string to read as index.cfm?16052008
and NOT index.cfm?16+May+2008

Is this possible to do this using ColdFusion only or should I use Javascript
(or a combination of both maybe ?? using DateFormat inside a javascript
function.

thanks in advance,

alan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3634
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to