Available in: Axsy Mobile for Salesforce, Axsy Field Service, Axsy Public Sector, Axsy Retail Execution

Visibility conditions allow you to dynamically determine which Elements should be displayed to the end user based on previous answers in the Smart Form. Once you have dragged and dropped an Element onto the Smart Form Designer, you can use the edit function to assign any visibility conditions for the Element.

To learn more about how to edit an Element in the Designer, please see this article for more information: How to Edit Elements - General

How Do Visibility Conditions Work

Visibility conditions are used to make Elements either visible or hidden based on the state of a previous Element. The possible outcomes for visibility conditions are:

  1. True - Meaning the Element is hidden
  2. False - Meaning the Element is displayed (not hidden)

By default, all Elements are visible and displayed in the app.


In this scenario, a Boolean Element, i.e. "Does the above store contact need updating?", controls whether or not the Text Elements that come after, which represent the contact's details, should be displayed. Specifically, if the Boolean Element is set to true, the contact details should display and, if set to false, they should be hidden.

Navigate to the Visibility tab of each Text Elements and use this formula BooleanElementName == false

When the Boolean Element is set to no/false, the visibility condition for each Text Element will evaluate to true and the Text Elements will be hidden. Conversely, when the Boolean Element is set to yes/true, the visibility condition for each Text Element will evaluate to false and the contact fields will be displayed.

Syntax Checking

When bad syntax is used in a formula, an error message will appear under the formula box in red indicating where  the syntax needs to be fixed. You can still save the bad syntax but make sure you correct it before publishing!