Build conditional form elements in FireForm

On this page:


Overview

When creating a form with FireForm, you can use conditional elements to generate form fields based on a user's previous responses. For example, you can set a Text (short) element to appear if a user selects "Yes" from a checklist, but not if the user selects "No".

Add a conditional element to a form

See Build forms using FireForm for general instructions on creating forms.

To add a conditional element to a form:

  1. Create the section and element that will trigger the conditional form fields. The element data type must allow for multiple options (including, but not limited to, Drop Down List, Checkbox List, or Agreement).

    You can also use integrated data sources to trigger conditional elements. To set up integrated elements, see FireForm integrated data source.

  2. Create the section that will contain the conditional field and define the section attributes. In the "Status" drop-down, select Conditional.
  3. Select Save. The "Section Listing" page will appear with the new section open.
  4. Select Form Element and create the element you want to be conditional. You will define the conditions later.
  5. Select Save. You will see the "Section Listing" page with the new section and element.
  6. Select Add Section Condition, and choose the appropriate settings:
    • Element: Select the name of the element that will trigger the conditional field (from step 1).
    • Operator: Select Equal To, Not Equal To, Contains, or Not Contains. Note that the options available are dependent on the chosen element.
    • Value: Set the value that will trigger the conditional field.
    • Connector: Select And or Or. This is a Boolean operation to combine multiple rules. You must select one, but the selection will have no function unless you define more than one rule.
  7. To add another rule, select Add Rule below your existing rule.
  8. Once you have added your conditions, select Save.

In the Online tenant view, the conditional element will display within the section that contains the trigger element. The location of the conditional element display can't be changed and must be immediately below the trigger element, for accessibility optimization.

Once you save the conditional element, you can view it immediately by refreshing the Online view in your browser. While you're building the form, keep the Admin and Online views open. It's also a good idea to set the form to "Hide from Page" so the general public can't access it; see Build forms using FireForm.

Get help

If you have additional questions, need to report a bug, or would like to make enhancement requests for the FireForm system, submit a FireForm Support Request.

This is document bfna in the Knowledge Base.
Last modified on 2023-03-21 14:45:11.