Custom Parsley.js Asynchronous Validator Loops Twice
I have been figuring this out for the whole afternoon and I can't seem to be able to debug this. The problem is that when I do a hard refresh of the page (document ready fires) my
Solution 1:
No time to check the source right now, but it's entirely possible the validator will be run more than once per request. In particular, ajax requests are be cached....
This should not be an issue though, your code is simply a translation from the ajax response to the end result (is it valid), running it multiple times should not have any impact.
Post a Comment for "Custom Parsley.js Asynchronous Validator Loops Twice"