Required fields based on condition

In order to not create multiple submitting and editing forms, please add a condition to required fields.

Put a visibility condition on the component. If it’s not visible, then it won’t be required.

1 Like

@Jeff_Hager for that scenario is great, but in some cases I want it to be required and in others to be displayed as optional.

Add another component that is not required, with the opposite visibility condition.

@Jeff_Hager smart thinking … but won’t be a conflict between the components using the same field?

Even though this can be obtain with this trick , I think a condition would really help with this.

It’s only a warning. Multiple components can refer to the same column. I’ve been doing it for years.