Forum Xamarin.Forms

Required validation on hidden fields

DevJDevJ CHMember ✭✭

I am using FluentValidation to validate my form. Based on users selection, fields can change its visible state. Some of them turn into required fields. How do I properly validate them, or remove the rule if they turn invisible again? It seems I can't easily remove a rule from an existing IValidator.

Sign In or Register to comment.