Active Form Flow - Visibility
  • 03 Oct 2022
  • 1 Minute to read
  • Dark
    Light

Active Form Flow - Visibility

  • Dark
    Light

Overview 

One of the most common use cases of Active Form Flows involves either validating data to ensure accuracy before submission or hiding/showing Form controls to dynamically populate a Form depending on the end user's selection. 

The following article details how to dynamically configure an Active Form Flow for Hiding/Showing form Controls.

Refer to Active Form Flow Validation to learn more about adding Validations through Active Form Flows.


Visibility

  1. In a Designer Folder, create a Flow and add a Show Form step to create a new Form in the Flow. It will automatically open in the Form Designer.
  2. Add a Checkbox, a Label, and a Button to the Form.
  3. Navigate to Form Properties > Form Rules > Active Form Flows. Select ADD.

  4. In the Active Form Flows dialog, name the Rule Flow and select EDIT RULE FLOW.
  5. In the Rule Flow Designer, add a Value is True Rule step from the Designer Entities > Rules > System Defaults > Default Form Validation Rules category.
  6. With the Value is True rule step selected, navigate to Properties > Inputs. Under Inputs > Value, select EDIT and choose Form Data > Visibility Check Box > Value.

  7. Add a Show Control step from the Form Rules category on the False outcome path in the Toolbox. Connect it to the End step. 
  8. With the Show Control step selected, navigate to the Properties panel. Under Inputs > Form Control, select EDIT and choose Form Data > [NameOfLabelToShow]

  9. Add a Hide Control step from the Form Rules category on the True outcome path in the Toolbox. Connect it to the End step.
  10. With the Hide Control step selected, navigate to the Properties panel. Under Inputs > Form Control, select EDIT and choose Form Data > [NameOfLabelToHide].

  11. Save and exit the Active Forms Flow Designer to return to the Add Active Form Flows dialog.
  12. Under ADVANCED > Triggers, set Visibility [CheckBox] to trigger on ValueChanged. For Run For Outcomes, select the Done path. Select OK.
  13. Save and exit the Form Designer to return to the Flow Designer.
  14. Select the Form and change its Toggle Visibility input to Ignore.

Debug

  1. Select the Debug Action in the orange Action Bar of the Flow Designer.
  2. Select START DEBUGGING.

The created visibility Active Form Flow checks if the checkbox is set to True. If so, it hides the specified control, aka the Label.


For further information on Forms, visit the Decisions Forum.

Was this article helpful?