You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been doing some testing with latest version (2.6.2) and it seems that both onFieldSuccess and addSuccessCssClassToField never fire on a field validated using ajax. In my case this is a username uniqueness check. My VE declaration is as follows:
I can see the failure class ('failval' in my case) being added to the ajax field before the ajax validation kicks off on blur but it is never removed (and success CSS class is never added) even when the ajax validated response is received as valid. All other non ajax validated fields work fine.
Also I tried to use the onFieldSuccess callback to possibly remove the failure class from the ajax field but this too is not called even when the ajax field validates. It works on other non ajax validated fields.
The declaration of my HTML input to be validated using ajax is as follows:
The ajax validation side of things works well however it seems the success and failure events are not processed for ajax validated fields based on the ajax response received. Can anyone else confirm this please?
Thanks.
Regards.
Duwane
The text was updated successfully, but these errors were encountered:
Just confirmed that if I change the validationEventTrigger to 'submit' it works so seems something isn't being kicked off for an individual field validation.
Hi.
New to GH so excuse if I mess up code formatting.
I have been doing some testing with latest version (2.6.2) and it seems that both onFieldSuccess and addSuccessCssClassToField never fire on a field validated using ajax. In my case this is a username uniqueness check. My VE declaration is as follows:
I can see the failure class ('failval' in my case) being added to the ajax field before the ajax validation kicks off on blur but it is never removed (and success CSS class is never added) even when the ajax validated response is received as valid. All other non ajax validated fields work fine.
Also I tried to use the onFieldSuccess callback to possibly remove the failure class from the ajax field but this too is not called even when the ajax field validates. It works on other non ajax validated fields.
The declaration of my HTML input to be validated using ajax is as follows:
The ajax validation side of things works well however it seems the success and failure events are not processed for ajax validated fields based on the ajax response received. Can anyone else confirm this please?
Thanks.
Regards.
Duwane
The text was updated successfully, but these errors were encountered: