Conditionally show or hide an element

Show or hide an element

On the tab Show/Hide you can compose conditions to include or exclude an element. When the option "Element is not always included" is selected, the element is only available dependent on the conditions. For the Content Wizard element View, the condition will include or exclude all of the Text Blocks in the concerning View.

You can compose a condition with the following elements:

Include/Exclude

Select whether the element is included or excluded when the condition is met.

all are true / at least one is true

If more than one condition is entered, this determines whether the group will be included when all conditions are true or whether the group will be included if at least one condition is true. If only one condition is entered, the choice of one or the other makes no difference.

Conditions

All conditions are shown in a listing. To add a condition, click the New button. To edit an existing condition, select the condition that needs to be edited and click the Edit button. To remove a condition, select the condition and click the Remove button.

You can also activate Edit or Remove from the context menu.

Adding or editing a condition will open the condition is a separate window. The following can be set:

Field type

Select the Field type e.g., Text, Number, Date or Time. The selected value determines the possibilities of the other choices you can make in this dialog.

First field

Select one of the available Fields from the list. Choose a Field with a value that matches the Field type you already selected.

Comparison type

This field determines if the previously selected Field should be compared with a Value or with another Field. The first Field can be tested for being smaller than, larger than, and/or (not) equal to the next Field or Value. For Text Field types only equal or not equal can be used.

Value or Field

Select if the earlier selected Field will be compared to a Value or to the value of another Field. Depending on your choice you can enter a value or select a Field in the next field. Note that with Number conditions, you can compare against numbers with a maximum of two decimals.

Date values in Fields

A date should be entered according to ITP's default date format. This format is YYYYMMDD. YYYY indicates the year, MM the month and DD the day. e.g. the date January 20 in the year 2001 would be represented as "20010120".

Time values in Fields

A time should be entered according to ITP's default time format. This format is HHMM. HH indicates the hours, MM the minutes. e.g. the time 12:30 would be represented as "1230".