VISIBLE property
Rule-base display and hiding of input components
Input or design components can be visible or hidden using rules. The expression <PROPERTY source="gadget" name="VISIBLE"/> can be used in the Handling instruction area of the rule definition and displays or hides the component in the form (depending on a particular condition).
With the help of the attribute VISIBLE, for example, a rule can be defined that displays an input component, depending on the editorial language or the store type in which the form is opened.
The following applies:
- If an input component's VISIBLE property is not defined within a rule definition, it will always be shown in the form.
- If the input component's VISIBL property is defined within a rule definition, it will only be shown when the condition defined in the rule applies. The component will be hidden in all other cases
(see example: Hiding input components in certain content areas).
The displaying or hiding of form elements using rules is no suitable security concept to protect data and information from unauthorized access. Rules are merely aimed to simplify the forms and to support the editorial work. |
Examples
- Displaying or hiding form elements depending on the editor group
- Displaying or hiding form elements depending on the 'Generate section in the output' setting
- Displaying or hiding form elements depending on the 'Page fully translated' setting
- Displaying or hiding form elements depending on the project language
- Displaying or hiding form elements depending on the editing environment (SiteArchitect or ContentCreator)
- Displaying or hiding form elements depending on the content area in which the form is opened
- Displaying or hiding form elements depending on the selected value of a selection list
- Displaying or hiding password protected form areas
- Displaying form elements only when opening the form in the page store