I use errorPlacement to add a class to the label to show a graphic element in addition to the error text (they are both different elements).
Is there a way to use a callback that will fire when a field validates successfully? I am already using validClass, which will change the error message, but I need to call back to change the graphic to “successful”.
Example
[picture] [input field] [error text]
I was able to change [picture] and [error text] when there is an error, but when the correct value is entered in the field, I was able to change [error text], but not [graphic].
source
share