Show or Hide a Section of a Form Based on a User Field Value
The Logic feature allows users to configure conditions for showing or hiding sections of a form based on user input. The Logic feature provides real-time feedback to users as they select values for the field that is configured, making it easier to configure forms for different use cases. This feature is particularly useful when working with complex forms that have many sections, and it saves time and makes it easier to create custom forms that meet the needs of specific projects.
Choose the user field, value and option you want the section to hide or show for.
For example:
When the Quality user field equals Incorrect Setout the NCR Location Section will appear.
Below shows creating an NCR, with nothing checked in the Quality section of Part A. Therefore the NCR Location Section is not showing.
The Incorrect Setout checkbox has been ticked in the Quality section of Part A. Therefore the NCR Location section is now showing.
Not Empty: This function will trigger the logic as long as either of the options are not empty. In example below, the section will show as long as options C, X and Y are not empty
Contains: This function will trigger the logic as long as the option is included. In example below the section will show as long as option C is checked
Empty: This function will trigger the logic as long as option is left unchecked/empty. In example below, the section will show as long as C is left unchecked
Equal: This function will trigger the logic as long as the option chosen is exactly equal to the option stated in the section's logic. In the example below, the section will show if option C is selected
Not equal: This function will trigger the logic as long as the option chosen by user is not the same as option stated in the section's logic. In example below, the section will show if option C is not selected
Not contain: This function will trigger the logic as long as the option chosen does not contain the option stated in the section's logic. In example below, the section will show as long as user didn’t choose option C