Conditions for Content Display

To be very flexible with HTML templates for documents, and in order to ensure a proper layout in different situation (e.g. content exists or not), you can define that elements or code are only displayed if a content is not empty or a certain condition is fullfilled. This means that content is only displayed is a defined condition is met.

In the most basic form, the condition is just defined as "display code only if a defined content exists". This can be enhanced by and/or combinations ("if content A or B exists, display code X"). In a more advanced way, you can define multiple behaviours for multiple conditions.

Note: "Empty" is defined as "non existing value". A blank space in a Textinput-CE would count as value. "0" as "please choose" value of a selectbox would be counted as value (in this case, instead of "0", the option should be empty). For Table-CEs, the CE only has to exist to be "not empty". It does not matter if the table cells have content or not.