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 am making a new website (sorry, it's in french) and trying to use the AJAX validation stuff.
If the message and form validating are working perfectly, sadly, the field AJAX validation return a false value. This is an issue as long as I bound jqv.field.result to change fields class.
If this is working perfectly on the password field, but on the email one, it is returning an error.
Maybe it's working as intended as I read it's "undefined" and not false but, I can't find a way to check if the AJAX field validation is done. So either it's a feature request or a bug correction.
Thanks.
The text was updated successfully, but these errors were encountered:
After investigating a bit, I goes through the _ajax method a bit.
If I am right, on line 1387, it checks for the field being validated with other checkers and only proceed to the ajax request if all the previous checkings are done and the Ajax checks is not already done:
// If there is an error or if the the field is already validated, do not re-execute AJAXif(!options.isError&&!methods._checkAjaxFieldStatus(field.attr("id"),options)){
Later, around line 1415, it checks for the ajax request status when the status is false and there is an error and set arcodingly the options.isError to true :
if(!status){// Houston we got a problem - display an red promptoptions.ajaxValidCache[errorFieldId]=false;options.isError=true;
So, why on line 1433, the options.isError is not set to false ? I tried and seems to solve my issue and many others as I looked backward into other issues:
Hello,
I am making a new website (sorry, it's in french) and trying to use the AJAX validation stuff.
If the message and form validating are working perfectly, sadly, the field AJAX validation return a false value. This is an issue as long as I bound jqv.field.result to change fields class.
If this is working perfectly on the password field, but on the email one, it is returning an error.
Maybe it's working as intended as I read it's "undefined" and not false but, I can't find a way to check if the AJAX field validation is done. So either it's a feature request or a bug correction.
Thanks.
The text was updated successfully, but these errors were encountered: