Skip to main content

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.

NAVIGATION

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.

Macintosh HD:Users:LynetteChaudoin:Dropbox:GT:3.0 and feel:icons if.png Macintosh HD:Users:LynetteChaudoin:Dropbox:GT:3.0 and feel:icons:47.png

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
alt text
FieldValue/Use
Open Saved GroupSelect an existing top-level logic group.
Insert Saved Logic Part/GroupSelect an existing logic group or part. Logic parts exist at the top level. Logic groups are nested.
Insert a New Logic PartInsert a new row at the current level that allows the configuration of a new part.
Insert a New Logic GroupInsert a new group at the current level. Drill into the group to define its parts.
Save and CloseSave the current Visual If and close the window.
CancelDo not save changes to the current Visual If and close the window.
ClearClear all current configuration from the window.
DeleteRemove this Visual If from the library.
Remember MeName 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
alt text

Insert a New Logic Part

Visual If Expression – Insert a New Logic Part
alt text
FieldValue/Use
Smart Source SelectSelect a Smart Source. The conditional logic is based on this field.
OperatorSelect an operator from the drop down list to build the logic statement.
Field toggleSmart Source. Select the smart source to use in the logic statement.
Constant. Enter the constant value to be used in the logic statement. The field type for the constant field will match the field type of the selected smart source.
View debugging information.
Remember MeSave this logic part to be use in other logic expressions.
Visual If Expression – Insert a New Logic Part with a constant value
alt text
Visual If Expression – Insert a New Logic Part with a smart source value
alt text

Insert a New Logic Group or Insert Saved Logic Part/Group

Visual If Expression – Insert a New Logic Group
alt text
FieldValue/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.
Click to EditUse 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.