limcheekin / jquery-validation-ui

JQuery Validation UI Plugin - Client Side Validation without writing JavaScript
http://limcheekin.github.io/jquery-validation-ui/
Apache License 2.0
20 stars 18 forks source link

Display content from errors.rejectValue in the client #35

Open nelsongallardo opened 10 years ago

nelsongallardo commented 10 years ago

In a remote validation, is there a way to display the error code sent in errors.rejectedValue in the client? If I have a custom constraint, and I don't return a boolean value but return errors.rejectValue('field','errorCode'), the plugin won't validate that field.