--- title: "Example Lab Test Template" slug: "example-lab-test-template" updated: 2023-07-07T20:40:03Z published: 2023-07-07T20:40:03Z canonical: "documentation.decisions.com/example-lab-test-template" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Example Lab Test Template Project DownloadThe examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production-quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 8.12.0 or later using the [Importing/Exporting](https://documentation.decisions.com/docs/exporting-and-importing-overview) article. [ExampleLab-ControllingFormControlVisibility-06072023-042444.zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab-ControllingFormControlVisibility-06072023-042444.zip) --- | Project Details | | --- | | **Version** | 8.12 | | **Root Folder** | Example Lab - Controlling Form Control Visibility | | **Modules** | None | | **Dependencies** | None | ## Feature Overview Using Active Form Flows for visibility allows the dynamic control of Form Control visibility based on various conditions and user input within a Form. It aims to enhance the user experience by selectively showing or hiding Form Controls to present users with the most relevant and necessary fields, improving usability and streamlining the form-filling process. Reference Articles[Active Form Flow - Visibility](https://documentation.decisions.com/docs/active-form-flow-visibility) --- ## Project Overview The project entails a Form with dynamic user inputs based on the Employment Status drop-down selection. The Main Flow revolves around the Form that has multiple user inputs. The goal is to enhance the user experience by dynamically displaying relevant Form Controls and hiding irrelevant Form Controls based on the user's chosen employment status. This dynamic behavior will streamline the form-filling process and ensure that users only encounter the necessary fields based on their specific employment status. ### What's Included | Name | Designer Element | Steps Used | | --- | --- | --- | | Display Contact Information | Flow | [Show Form](https://documentation.decisions.com/step-library/docs/show-form) | | Contact Information | Form | --- | | Hide/Show Employment Information based on Selection | Active Form Flow | [String Match Step](https://documentation.decisions.com/step-library/docs/string-match-step) | | [Show Multiple Controls](https://documentation.decisions.com/step-library/docs/show-multiple-controls) | | [Hide Multiple Controls](https://documentation.decisions.com/step-library/docs/hide-multiple-controls) | | [Show Control](https://documentation.decisions.com/step-library/docs/show-control) | | [Hide Control](https://documentation.decisions.com/step-library/docs/hide-control) | ### Configuration The bulk of the logic to dynamically control Form controls will be in an Active Form Flow. On a Form, navigate to **Form Properties > Form Rules > Active Form Flows**. Select ADD. Provide a Name for the Rule Flow and select EDIT RULE FLOW. In the Active Form Flow, all steps are available to build logic to achieve the process needs, in addition to special Active Form Flow steps that are located in the Form Rules category in the Toolbox. The steps related to visibility are the Show Control and Hide Control steps. Form Control Data is available to use within the Active Form Flow under Form Data in the Mapping Editor or in the Data Explorer. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2023-07-06_16h15_53.png) --- ## Expected Result This section provides a video that displays the project in action to see the desired outcome being achieved. Gain a firsthand understanding of how the project works and visualize the operation of the implemented features. [Video](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2023-07-07_09h22_09.mp4) ---