Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Form Features - Conditional Visibility

Overview

SharinPix Form Elements can be configured to be visible only when a particular condition is met. This configuration is available in the SharinPix Form Builder.

This article covers the following:

Getting Started

Configure Visibility Conditions

The visibility condition of a SharinPix Form Element can be configured using the "visible when" field in the SharinPix Form Builder.

This field can be found in the advanced tab for Question elements and takes as input an expression that evaluates to True or False (boolean).

Submit answer even when hidden

Use Submit answer even when hidden to submit one question's answer when it is hidden.

Questions can be hidden by a visibility condition. By default, answers to hidden questions are not included in a submitted response. They do not reach Salesforce.

The form-level Include hidden fields in Response setting controls this default. Submit answer even when hidden overrides it for one question. Other hidden questions keep the form's default behavior.

Turn on the option

  1. Open the form template in the Form Template Editor.

  2. Select the question you want to configure.

  3. Open the question's Advanced tab.

  4. Select Submit answer even when hidden.

    Screenshot: Submit answer even when hidden in the Advanced tab.

  5. Save and activate the new template version.

Good to know

  • If the question is inside a hidden section, enable the same option on the section. This keeps the answer in its response location.

Demo: Air Conditioning Inspection Example

This example demonstrates the Conditional Visibility feature within an Air Conditioning Inspection example. If damage is detected, additional fields will be visible to provide more information on the damage.

The example below shows a textarea element - 'Describe the damage' , configured with a visibility condition. This element will only be visible when the value of the previous question, 'Are there any signs of damage?' , is equal to 'Yes'.

The diagram below shows the form with the questions 'Is the unit operating properly?' and 'Are there any signs of damage?' only and the elements with conditional visibility not showing.

The diagram below shows the form with the two additional questions that became visible when the 'Is the unit operating properly?' question was set to 'No' and 'Are there any signs of damage?' question was set to 'Yes'.