When using the date field in a flash form, you can us ethe MASK attribute to
specify the date format, but this is not applied to the initial value.
Can you add some actionscript to the BIND attribute to do this?

E.g.

<cfinput type="DateField" name="expires"
bind="{getServer.currentItem.expires}"
monthnames="Jan,Feb,Mar,Apr,May,June,July,Aug,Sep,Oct,Nov,Dec"
firstdayofweek="0" label="Expiry Date" required="No" visible="Yes"
enabled="Yes" tooltip="The date that hosting for this server expires"
mask="MMM/DD/YYYY">

I want bind="{getServer.currentItem.expires}"
To also be formatted at MMM/DD/yyyy


--

Russ



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219878
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to