- Created by Christopher Rushing (Unlicensed) on Feb 09, 2021
- Tasks
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
Contents
Overview
ITAM Logic Builder - Conditional Logic for Forms & Pages
Among the many advanced features available in the IT Audit Machine are the built-in conditional logic functions for forms and pages. The Logic Builder is the control window where form designers are able to define specific business rules for certain types of form/page behavior. Access to the Logic Builder is provided via the logic button/tab below the form entry in the Form Manager.
Using this powerful feature, form designers can dynamically show/hide fields and/or navigate to a specific page based on selections being made by the user. This is very useful if it is necessary to display different form content to various users without creating numerous forms with many redundant fields or having a single form with too many fields. Creating logic for a form might sound complex, however, ITAM makes it easy and without the form designer needing to become a programmer.
A key feature of the Logic Builder is the dynamic way it provides options to the logic designer. Depending on the type of field being selected for comparison, the options it provides will adjust to be appropriate to the field. The various options are included in a table at the bottom of this page.
Logic Options
Enable Rules to Show/Hide Fields
ITAM can either Show or Hide a field based on one or more conditions. The conditions are evaluated instantly. Each time a user makes a selection or enters any text into the field, the show/hide conditions are being evaluated and the associated field will be shown or hidden immediately.
Creating the conditions for a field is as simple as selecting the fields from the drop-down menu and defining the comparison value.
Note: When a field to Show or Hide has been selected it will appear as a title above the conditions being created to show or hide it. The dropdown for selecting what field to Show/Hide will reset, allowing additional fields to be added selected as a target for the Show/Hide functionality.
When selecting a date to trigger logic with you can choose either a single date by using the Is value or you can set a date range by setting both the Is Before option, as the next illustration depicts, and the Is After.
Enable Rules to Skip Pages
This functionality allows users to skip directly to a certain page based on data entry choices. This is useful when there are multi-page forms and it is necessary to control which pages a user is presented based on their input choices. Creating the conditions for a controlling page skips is similar to the show/hide fields and is as simple as selecting the fields from the drop-down menu and defining the comparison value.
For example, the following illustration shows the logic behind a two-choice dropdown field. When the user selects choice 1, the page advances to the next page. When the user selects choice 2, the page advanced instead to another page.
When selecting a date to trigger logic with you can choose either a single date or you can set a date range as the next illustration depicts.
Enable Rules to Send Notification Emails
Again, the operation for defining additional logic for sending email notifications to specified email accounts is similar to SHOW/HIDE and Skip Pages. You are able to enter in as many email recipient addresses as necessary separated by a comma or semicolon.
Enable Rules to Send Form Data to Another Website
This is an advanced ITAM feature. Enable this feature to define additional logic for sending webhooks to other URLs based on user entries.
Dynamic Comparison Options
The options presented for comparison change depending on the type of field being compared. Below are the options for the various field types
Field | Description |
---|---|
Text (all text-based fields) | |
Is | An exact match to the value entered |
Is Not | Does not exactly match the value entered |
Begins With | The field begins with the value entered |
Ends With | The field ends with the value entered |
Contains | The field contains the value entered somewhere within it |
Does Not Contain | The field does not contain the value entered somewhere within it. |
Number | |
Is | An exact match to the value of the number entered |
Less Than | Is less than the value of the number entered |
Greater Than | Is greater than the value of the number entered |
Date | |
Is | The date field is the exact date entered |
Is Before | The date field is before the date entered |
Is After | The date field is after the date entered |
Selection (all selection-type fields) | |
Is | Allows for a comparison to the possible values presented in the Selection field |
Is Not | Does not match one of the possible values presented in the Selection field |
Begins With | The selected option begins with the value entered |
Ends With | The selected option ends with the value entered |
Contains | The selected option contains the value entered somewhere within it |
Does Not Contain | The selected option does not contain the value entered somewhere within it. |
Checkbox | |
Is Checked | The checkbox is checked |
Is Empty | The checkbox is not checked. |
[Previous Topic → Advanced Form Management] Navigation [Next Topic → Form Logic]
- No labels
0 Comments