-3

I want to improve my forms with jQuery Validation Engine. For more accessibility, I want to put the error in a tag below the input tag.

<input type="text" ... >
<p class="error">Error message</p>

Is it possible ?

Thank you !

Fridez Lucas
  • 33
  • 1
  • 8

1 Answers1

0

Yes you can do what you want, see here Its the jquery validation plugin allows you to customize your error messages.

eg.

var validator = $( "#myshowErrors" ).validate();
validator.showErrors({
  "firstname": "I know that your firstname is Pete, Pete!"
});

see this

TheTom
  • 298
  • 3
  • 15