Re: a way to check date entry

From: Date: Tue, 17 Oct 2000 13:39:43 +0000
Subject: Re: a way to check date entry
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20632@lists.php.net to get a copy of this message
Hey David: > I have seen a pick list used to select the date via the mouse. > but that seems kind of long-winded and requires taking hands > off the keyboard. It only requires that if the user doesn't realize they can tab into that form element and type the first number of the date they want, then hit alt-down, scroll though the list to find the item you want and hit enter. Okay, I'll shut up now. > Is there a simple way to check an entry and give a rejection message if > entered wrong? As Joe mentioned, checkdate() is a handy thing. Enjoy, --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#20632) next »