Re: A really fun one

From: Date: Wed, 12 Jul 2000 23:04:23 +0000
Subject: Re: A really fun one
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6334@lists.php.net to get a copy of this message
We do this on our site (www.sportsmvp.com) in several places. We did not want to Javascript to accoplish this but I don't see any other way except maybe DHTML. What we did was to confirm the date after they submit the form and display nice looking warnings that display if they enter say 31 for February. They then would have to use the back button in the browser and correct the mistake themselves. -- Brett M. Delia Software Engineer / Web Developer SportsMVP.com - Active Arts, Inc. 6650 S.W. Redwood Lane, Suite 200 Portland OR 97224 503.684.5806 x775 mailto:brettd@sportsmvp.com http://www.sportsmvp.com - http://www.activearts.com Do what you can, with what you have, where you are. --Theodore Roosevelt I have simply tried to do what seemed best each day, as each day came. -- Abraham Lincoln ----- Original Message ----- From: Jason Bryner <jason@focusdesigngroup.com> To: PHP General <php-general@lists.php.net> Sent: Wednesday, July 12, 2000 3:38 PM Subject: [PHP] A really fun one > Okay, this one oughta be lots of fun. How would you make to pulldown menus, > one with the month (text i.e. "January"), and one with the days (1, 2, 3, > etc...) so that when you select a month, the day list updates to the amount > of days in that month. > > i.e. If you select December from the month list, there would be 1 - 31 in > the day list. Or if you select Febuary , there would be 1 - 29. > > Jason Bryner > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#6334) next »