On Tue, Nov 1, 2011 at 4:25 PM, Jarvis, Matthew <[email protected]> wrote:
>
> We have a web page on our intranet where users can reserve equipment,
> and they are *supposed* to enter in a date like 11/1/2011 or whatever,
> but like in my example sometimes it's just "November 1st" and that's
> it...

A much nicer solution might be to throw jQuery on the page. Add the
jQuery calendar, and then they can't add a bad date, because they're
picking it from the calendar.

http://jqueryui.com/demos/datepicker/

The best way to prevent users from entering wrong information is to
limit them to only providing valid answers.


-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CACW6n4smLro8VxmoXRJoq=hf16ucf-frko+usytnzyuosmp...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to