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
Is there a way to define a validation method that can refer to other fields?
In our app we need to validate the sum of characters entered for a combination of fields. We have a workaround where we do validation in a separate step and return the errors manually but was wondering if there was a better way of declaring this type of validation.
The text was updated successfully, but these errors were encountered:
There are other validators that look at other fields as part of their validation, eg match, or the dates validators beforeField and afterField. You could do something like:
Is there a way to define a validation method that can refer to other fields?
In our app we need to validate the sum of characters entered for a combination of fields. We have a workaround where we do validation in a separate step and return the errors manually but was wondering if there was a better way of declaring this type of validation.
The text was updated successfully, but these errors were encountered: