Although Perl/CPAN makes some good form handling modules available I think that the 
more client side data checking you can do the better. For date input I'd go with 
javascript, and
I'd use an input calendar to control the data. See, for example, a prototype I'm 
working on at http://www.southwindssailing.com/pressgang/ which uses a nice 
javascript/DHTML input
calendar by Lea Smart (www.totallysmartit.com).

"Kipp, James" wrote:

> What is the best way to validate form data. I have a form which the user
> enters dates like '08/01/2002'. What is the best way to make sure this
> format is entered. Should i use javascript here or regex?

--
Dr. John  Griffiths  \( ~ )7  The Teahouse of Experience
MAILTO:[EMAIL PROTECTED] http://www.frontier.net/~grifftoe/
O, call back yesterday.     Richard II, act 3, sc. 2.






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to