I’m using jQuery Validate for my site’s contact form. The input fields have pre-populated default values, i.e. “Name” is the default value for the text field where people should type their name.
Some of these fields are required, but the basic set-up of jQuery Validate only checks if there is content in the fields, not what the content is. My problem is that even if people don’t enter their name, the form will still validate because the default value of “Name” still exists in the field.
Does anyone know how I can program jQuery validate to check for the default values, and if they exist, to return an error message?
Thanks for the help!