Make a component required or optional based on a certain condition

Is there a way to make a component ‘required’ if a certain condition is met? I see there is a check box to specify if a component is required or not but is there a way to make it required in certain cases and optional in other cases?

If you hide the component via a visibility condition, then you can still submit the form with that value being empty. If you still need the component to be visible, then I would suggest creating two components. One that is required, and one that is not. Then show either one depending on which condition needs to be met to make it visible/required or not.


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.