Adding dependent fields to enumeration fields

In the Form Response Builder, you can create enumeration fields with extra fields that are required based on a user’s selection. Extra fields are useful when certain options, such as Other or Specify, require a follow-up text input.

About this task

Figure 1. Dependent fields example
Illustration showing dependent fields.
Figure 2. RequiredOn example in the Form Response Builder worksheet
Illustration showing how to use RequiredOn.
Note: When you set properties or configure an AdditionalField, always enter the field’s code in the Parent Code column to help ensure that the system correctly links the configuration to the intended field.

Procedure

  1. In the Parent Code column, enter the code of the main enumeration field, and set Display Order to 1.
  2. Add a row at the end of your field setup with a unique code.
  3. Set Entity to Dependencies and Type to AdditionalField.
  4. Add another row to define when the additional field is displayed:
    1. Set the Parent Code to the code of the additional field
    2. Set Entity to Dependencies.
    3. Set Type to RequiredOn.
  5. In the Value column, enter the Display Order number of the option that triggers the additional field.
    For example, in the Value column enter 6 for Other.