Hello,
I would like to add a custom error message on a field (for example e-mail).
I would not do it by adding text in title field for user can see this text when overing the field.
I am trying doing this by adding a "Load JavaScript" module on the "on load" bloc (on the top of it).
Then, in th JS Code field, I am adding this :
Could you please help me ?
Thank you in advance.
I would like to add a custom error message on a field (for example e-mail).
I would not do it by adding text in title field for user can see this text when overing the field.
I am trying doing this by adding a "Load JavaScript" module on the "on load" bloc (on the top of it).
Then, in th JS Code field, I am adding this :
<?php
jQuery.gvalidation.errors.required = "test required custom message";
jQuery.gvalidation.errors.email = "test email message"
?>
But... it is not working...
Could you please help me ?
Thank you in advance.