Re: [SMARTY] Passing a date to html_select_date (Smarty newbie)

From: Date: Thu, 13 Feb 2003 19:06:08 +0000
Subject: Re: [SMARTY] Passing a date to html_select_date (Smarty newbie)
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7739@lists.php.net to get a copy of this message
http://smarty.php.net/manual/en/language.function.html.select.date.php Look at the second option to html_select_date. You can say something like: {html_select_date time=2002-03-14} and it will default to that date. later, ajay On Thu, 2003-02-13 at 06:31, lists@yewlands.com wrote: > Hi > > I'm trying to validate a form which uses html_select_date as one of the form > fields. If there are errors on the form I want to display the form back with the > values that they selected the same. > > Is there a way I can pass the values back so it will display the date they chose > before submitting the form. > > cheers > > matt > > -

« previous php.smarty.general (#7739) next »