Conditional script dialog
Conditional script generators can show or hide elements on the page
depending on certain conditions and values. They can be
added by right-clicking any element in a template and clicking Make
Conditional. If the current element does not have an ID, one will
be automatically generated. See Showing content conditionally.
The options in the Conditional Script wizard are:
- Action: Use the drop-down
to select whether to Show or Hide the element
when the condition below is true.
- Data Field: Use the drop-down
to select which data field in the record the condition will be based
on.
- Condition: Select which
kind of condition is applied. Possible options are: Equal
to, Not equal to, Contains, Does
not contain, Begins with,
Ends with.
- Value: The value used for
the conditional check.
For example, you could check whether the value in the data field "Gender"
is "Equal To" the value Mr , in order to show a paragraph
or an image applying only to male customers.
|
|