Re: Date's default initialization
| From: | Alexey Borzov | Date: | Thu, 08 Mar 2007 11:49:30 +0000 |
| Subject: | Re: Date's default initialization | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26783@lists.php.net to get a copy of this message | ||
Hi,
André de Guenin wrote:
What i would like to do is to settle, as simply as possible, the default value of the return date with the "user selected departure date".Write some javascript to change the "return date" when "departure date" is changed. You can't set that date *before* user actually inputs the departure date and by that time PHP have already finished displaying your form.