< Alle Themen
Drucken

Project fields – Conditions

The “Conditions” function is a helpful tool for making input masks clear and user-friendly. It allows fields to be displayed only if certain conditions are met. This means that only relevant information is displayed, which simplifies and speeds up operation.

A field only appears in the input screen if a defined condition is met. This is particularly useful if a user makes a specific selection in a previous field (e.g. a selection list).

Example:
A field for additional information only appears if “Yes” was selected in the previous drop-down menu.

Syntax of the conditions
  • Each condition is entered in a separate line.

  • Several conditions can be linked with the OR operator so that the field is displayed if at least one condition is fulfilled.

Example:
"FIELDNAME" = 04 OR "FIELDNAME" != 06

This field appears if the value of FIELDNAME is either “04” or not “06”.

Practical examples
  • Example 1:
    A text field only appears if “Option1” has been selected in the drop-down menu.
    Condition:
    "DROPDOWN_FIELD" = 'Option1'

  • Example 2:
    A field is displayed if another field does not have the value “UnwantedValue”.
    Condition:
    "FIELDNAME" != 'UnwantedValue'

  • Example 3:
    A field is displayed if one of several conditions is met.
    Condition:
    "FIELDNAME" = 'ValueA' OR "FIELDNAME" = 'ValueB'

Advantages of the conditional function

This function allows you to dynamically adapt the input masks and focus the user interface on the essentials. This improves clarity and increases efficiency when entering data.

';