Thanks Michael.

-----Original Message-----
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 7:44 AM
To: CF-Talk
Subject: Re: proper cfparam usage


It's legal. The default is only used when the variable does not exist and
dateformatted data is still a date. Just be sure that request.current_date
exists and it a date as well or it'll blow up.

> Can anyone tell me if this is a proper/valid usage for cfparam?
> I'm debugging someone else's application and I've never seen it used this
> way before.
>
> <cfparam name="request.create_date"
> default=#DateTimeFormat(request.current_date)# type="date">
>
> Thanks,
>
> Greg M
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

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

Reply via email to