Combinig JQuery datapicker with input field validation /filter

Posted by Olav on Stack Overflow See other posts from Stack Overflow or by Olav
Published on 2009-03-25T09:19:24Z Indexed on 2011/03/07 0:10 UTC
Read the original article Hit count: 300

Filed under:
|
|

I am using the JQueryui Datepicker. But it doesn't really affect values entered manually in the input-field. Is there some way I can use the same (client) code to specify mask / validation on the input field (when the datapicker is not used - not just have datepicker output the correct format).

What would be the most consistent way to do this in the JQuery framework?

Thanks

Remarks

  1. It seems jQuery put som restraints on input (I.e. I can only enter digits- mask "yymmdd") so the main thing is to get validation.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui