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
The validator then would receive the evaluated funtion-call == the current value of the other field (or any other result of the referenced function as requirement.
Consider one Field with a validator has to consider another field as requirement. E.g. the second date-field must be larger than the first.
Currently we would access the other field from inside our own custom validator.
It would be nice to have the possibility to write the following to allow for a more generic custom validator approach:
<input id="a" data-parsley-mindate="$('#B').val()" .../>
The validator then would receive the evaluated funtion-call == the current value of the other field (or any other result of the referenced function as requirement.
Currently we did a workaround like
If i accidentally missed the fact that such a thing can be done already more easily i'd like to hear about it :)
The text was updated successfully, but these errors were encountered: