Re: QuickForm: maxYear/minYear preset

From: Date: Thu, 22 Jan 2004 07:51:37 +0000
Subject: Re: QuickForm: maxYear/minYear preset
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10287@lists.php.net to get a copy of this message
Hi! Matthias H. Risse wrote:
Does anyone know why QuickForm's date-element always preselects the maximum year if I set ['minYear'] = "2004"; ['maxYear'] = "2080"; I know I can handle this via setValues(), but maybe genereally people dont want the maximum year to be preselected, no? Aynway.. just a little silly thought.. :)
QuickForm does *not* "preselect" anything. Your browser does. If you want it to preselect the minumum year, swap 'minYear' and 'maxYear' when creating a date element.

« previous php.pear.general (#10287) next »