Use skip logic to display or hide fields

Users often need to answer sets of questions based on how they answered previous questions. In Flowfinity, you can display or hide individual fields or entire pages in mobile forms by using conditional visibility.

Example 1

An inspector performs fire system inspections on buildings containing different fire safety systems. Inspectors only need to answer questions relevant to the safety systems specific to a building. In this example, we will group fields in Pages and show or hide each page.

Instructions

  1. Customize the application (e.g., Safety System Inspections)
  2. In the Form section, create the necessary field to indicate which set of fields the user will see
    Flowfinity - Use Skip Logic to Display or Hide Fields
  3. Click the 'Add Page' button to create a new page for your first set of fields (e.g., Fire Alarm)
    Flowfinity - Use Skip Logic to Display or Hide Fields
  4. Add the appropriate fields to your page
    Flowfinity - Use Skip Logic to Display or Hide Fields
  5. Click on the page header, and change the visibility condition to ‘Conditional’
    Flowfinity - Use Skip Logic to Display or Hide Fields
  6. Specify the appropriate conditions under which the user will be able to see the fields
    e.g., Safety Systems Present, Contains, Constant, Fire Alarm
    Flowfinity - Use Skip Logic to Display or Hide Fields
  7. Save the condition, and the form
  8. Repeat steps 2-4 for each set of questions you have (e.g., Standpipe and Hose, Sprinkler)
  9. Publish the application

Example 2

Now we'll go over how to display or hide specific fields. For example, the fire alarm system failed, and the form now needs to display new mandatory fields detailing information about the failure.

Instructions

  1. Go back and customize the application
  2. In the Form section, add a new field to indicate if the inspection passed or failed
  3. Select the dropdown field, and enter 'Pass' and 'Fail' as the options
    Flowfinity - Use Skip Logic to Display or Hide Fields
  4. Next, add another field that requires the user to provide reasoning if the inspection fails. Select the memo field.
    Flowfinity - Use Skip Logic to Display or Hide Fields
  5. Change the visibility condition to 'Conditional'
    Flowfinity - Use Skip Logic to Display or Hide Fields
  6. Specify the conditions under which the user will be able to see this field. The condition will be that the 'Pass or Fail?' field, equals 'Fail'.
    Flowfinity - Use Skip Logic to Display or Hide Fields
  7. Click Save
  8. Make this field mandatory so the user can't leave it empty if it's visible. Change the mandatory condition to 'Yes'.
    Flowfinity - Use Skip Logic to Display or Hide Fields
  9. Add the same condition as before, where the Pass or Fail dropdown field equals 'Fail'
    Flowfinity - Use Skip Logic to Display or Hide Fields
  10. Save both the condition, and the form
  11. Publish the application