I’ve got a form which uses the jQuery Validate Plugin to check for required fields before submission:
The default alert text that appears is “This field is required.”. I would like to customise this for different fields but can’t quite get it right – can anyone point out how to do this successfully.
I would typically add something like:
<label for = "username" class = "error">Please enter your Username</label> but this doesn't work correctly with this form.
Thanks
Hope, this piece of code would be of any help. One can put custom error messages for each & every field under messages.