How to make a field required in a conditional field
You may have a field on a form that is required only in certain conditions but the field is not in a table, so you can't make it required in the table cell. To specify a field as required when answered accordingly, complete the following steps:
- In the Form Designer mark the field as required (in this example, the field is a long text field).
- Add a Conditional Field input to the form and drag the field into the Visible when box.
- Click the "Visible when"
(Edit) to open the Edit Conditional Field window.
- Click + (Add Rule) to create the conditional rule.
- Mark Or under the "Field will be shown when:" prompt and create the condition.
- Click the "Visible when"
to copy the conditional field.
- Click the
for the field that you copied and unmark the Required field.
- For the copied "Visible when", click
(Edit) to open the Edit Conditional Field window. Change the Operator field to is not equal to and keep the value as Yes.
- Click OK.
- In the app, when you answer Yes, the field is required:
- In the app, when you answer No, the field is not required, but is still on the form to enter notes, if you wish.