Insites Docs Instance FormsForm BuilderConditional Visibility

Conditional Visibility

Last updated on August 01, 2024.

Conditional Visibility is a feature in the Form Builder that allows you to display or hide form fields based on specific conditions or rules. The feature enables you to create dynamic and responsive forms that adapt to user input or other factors, thereby enhancing the user experience.

Consider the example where you are creating a form for a cleaning service company. In this scenario, you can provide users with the choice of selecting whether they require carpet cleaning. If the user's response is affirmative (yes), additional option fields become visible, including choices for anti-allergen and deodorizing treatments. Conversely, if the response is negative (no), the option fields are concealed rather than disabled.

Adding Conditional Visibility Conditions to a Field

To use conditional visibility on the field you are creating:

  1. Go to the 'Conditional Visibility' section on the form for creating a field.
  2. Toggle Enable Conditional Visibility to 'Enabled.'
  3. Use the form to create a condition.
  4. Click ADD ANOTHER CONDITION to add more conditions to your field if required.
  5. Select SAVE.

These are the input requirements and descriptions for adding a conditional visibility condition to a field.

Input LabelTypeRequiredDescription
Trigger Field Dropdown Field Yes The trigger field establishes whether the field you're creating is displayed or hidden under specific conditions. If the trigger field's value meets specified conditions, the field you're creating will be hidden.
Condition Dropdown Field Yes

The logical condition used to trigger field visibility or invisibility. The list of logical conditions includes the following:

  • Is Answered
  • Is Not Answered
  • Is
  • Is Not
  • Greater Than
  • Less Than
  • Contains
  • Starts With
  • Ends With
  • Is Before
  • Is After
Value Text Area Yes The logic provided in the 'Condition' field uses this value to control the conditional visibility of the field you create.

Conditional Visibility Logic by Field Type

It is important to note that conditional visibility logic is not available across all field types. For example, you may not use the 'Is Before' condition on an 'Input String' field type (or any other field type except 'DateTime'). The table below displays which conditional visibility logic applies to a corresponding field type.

Field TypeInput TypeIs AnsweredIs Not AnsweredIsIs NotGreater ThanLess ThanContainsStarts WithEnds WithIs BeforeIs After
ArrayCard Select Multiple
ArrayCheckbox
ArrayFile Multiple
ArrayInput Multiple
ArraySelect Multiple
BooleanToggle
DateDate
DateTimeDate and Time
Data SourceSelect
Data SourceSelect Multiple
Geo JSONCode
FloatDecimal
FloatStepper
IntegerNumber
IntegerStepper
MediaFile
MediaImage
StringCard Select
StringCode
StringColor
StringHTML
StringInput
StringLink
StringMarkdown
StringMulti-line
StringPhone
StringRadio
StringSelect
TimeTime
Have a suggestion for this page?

Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.