Can a field on a form be conditionally required?

So, I know you can use form logic to conditionally display a field and that if the dependant field is marked as required, it is only required when it is displayed. But is there a way to make a field display as required only under certain conditions?

Example: I would like a certain text field to always be available on a form, but if a specific item is selected from a drop-down, I would like for the text field to be required.


Currently, the only solution I can think of would require having two versions of the field, one to display as not required and the other to display as required, and then set it up so that the two fields are never displayed at the same time.

Tags:

Best Answer

Answers