jquery validate - validating a field on pageload

Posted by boz on Stack Overflow See other posts from Stack Overflow or by boz
Published on 2010-03-17T17:05:06Z Indexed on 2010/03/17 17:51 UTC
Read the original article Hit count: 563

Filed under:
|

Hi there, I've got an input field on my plain html form that I would like to be marked as invalid (and the error message shown) from the moment the page loads.

Is this possible to do with the jquery validate plugin?

Failing that, how can I hide an element when the plugin tries to validate a particular input field?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-validate