Visual Ifs
This powerful part can be used in various places when setting up GT eForms. Visual Ifs allow for the functional definition of conditional logic. If the defined statement evaluates to true then associated setup will occur. A Visual If that returns false indicates that the associated setup should be skipped.
Visual Ifs can be found throughout Form Setup.
Visual If Icon
Click on the Visual If icon to open the setup page. A white icon indicates that no Visual If has been configured for the associated setup. A blue icon indicates that Visual If logic has been configured. Hovering over the blue icon will generate a quick preview of the configured logic.
Visual If Expression Configuration
Upon clicking a Visual If icon, its Visual If Expression configuration page opens up. Here, new Visual If statements can be created or an existing Visual If can be selected/edited.
Visual If Expression |
---|
![]() |
Field | Value/Use |
---|---|
Open Saved Group | Select an existing top-level logic group. |
Insert Saved Logic Part/Group | Select an existing logic group or part. Logic parts exist at the top level. Logic groups are nested. |
Insert a New Logic Part | Insert a new row at the current level that allows the configuration of a new part. |
Insert a New Logic Group | Insert a new group at the current level. Drill into the group to define its parts. |
Save and Close | Save the current Visual If and close the window. |
Cancel | Do not save changes to the current Visual If and close the window. |
Clear | Clear all current configuration from the window. |
Delete | Remove this Visual If from the library. |
Remember Me | Name the Logic Part group for reuse. |
Logic Visualizer
The Logic Visualizer displays the conditional logic that is set in an easy-to-read format. You can navigate a Visual If by clicking on the part you wish to isolate on the visualizer: Doing so refreshes the visualizer to only display the clicked part.
Visual If Expression Visualizer |
---|
![]() |
Insert a New Logic Part
Visual If Expression – Insert a New Logic Part |
---|
![]() |
Field | Value/Use |
---|---|
Smart Source Select | Select a Smart Source. The conditional logic is based on this field. |
Operator | Select an operator from the drop down list to build the logic statement. |
Field toggle | |
View debugging information. | |
Remember Me | Save this logic part to be use in other logic expressions. |
Visual If Expression – Insert a New Logic Part with a constant value |
---|
![]() |
Visual If Expression – Insert a New Logic Part with a smart source value |
---|
![]() |
Insert a New Logic Group or Insert Saved Logic Part/Group
Visual If Expression – Insert a New Logic Group |
---|
![]() |
Field | Value/Use |
---|---|
Select the AND or OR logic for the logic statement. Note that you can only use all AND or all OR at a specific level. To mix AND and OR logic statements, use multiple group levels. | |
Field can be set to Is or Is Not. This allows the use of a single logic part for both positive and negative logic. | |
Use this icon or the ‘Click to Edit’ link to open the group and begin design. Note that PeopleCode Logic parts cannot be changed in this interface. |