views:

19

answers:

1

I am using this technique to place default input in the text fields as a hint to users.

http://www.dailycoding.com/Posts/default_text_fields_using_simple_jquery_trick.aspx

I would like to also validate the fields using jquery validate.

How can i get the validater to ignore the default input?

A: 

You could try using a different method that does not actually add a value to the input fields for the hint. This might do the trick: http://fuelyourcoding.com/scripts/infield/

Basically, your label field is positioned directly within the text box. Caveats are your form design needs to be able to accommodate such an approach.

Lyon