limcheekin / jquery-validation-ui

JQuery Validation UI Plugin - Client Side Validation without writing JavaScript

Home Page:http://limcheekin.github.io/jquery-validation-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display content from errors.rejectValue in the client

nelsongallardo opened this issue · comments

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.