Make a textfield only required when it is not hidden

I got the solution :slight_smile:
You can use:

ng-required="variable==‘example’ "

Then the required condition is only checked if the “variable==‘example’” condition is fullfilled :slight_smile:

1 Like