Time picker for web forms

  

We received a request to let the visitors use a time picker for the selection of a valid time value. But we thought it wouldn’t be nice to add another JavaScript to the forms. So we went for another solution: time validation using the existing field validation mechanism, from the Form Editor. If you add time validation for a field, when the form is displayed for the first time, the default value is set to “00:00″, and when you submit the form, if an invalid time is entered (eg: 0x:69), an error is displayed, asking for a valid time value.


time-picker

This entry was posted on Wednesday, May 19th, 2010 at 5:11 am and is filed under 123ContactForm, How To, Usability. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply