So apparently pos absolute has provided a method for you to display custom error messages with his jquery validation engine script but I can't get it to work. According to his documentation at http://posabsolute.github.com/jQuery-Validation-Engine/#options/custom_error_messages he provides an example for how to implement. For simplicity, I have implemented it as follows..
$('#myform').validationEngine('attach', {'custom_error_messages' : {'#menubuttontext' : { 'required': { 'message': "This is a custom message." }}}}
);
For the following form field...
<form action="" name="myform" id="myform" method="post" >
<input type="text" name="menubuttontext" id="menubuttontext" class="validate[required]" data-tooltip-options="{"position":"right"}" value="" size="10" >
<input type="submit" name="submit" value="submit"
< / form >
When submitting the above form I get the default message "This is a required field" instead of the custom message "This is a custom message" that I'm attempting to implement. Has anyone been able to get this to work? What am I doing wrong?
Thanks in advance!