1. š Overview#
The Condition Block allows you to make one or more Nested Blocks visible according to one or more specified conditions.š Smart Visibility: This block acts as a smart filter that shows or hides content based on user inputs and attribute values, creating personalized user experiences.
2. āļø Specifications#
š ļø Accessing Visibility Conditions#
Visibility conditions are accessible from the block parameters.1
š Open Block Parameters
2
āļø Configure Conditions
ā
Universal Application: All nested Blocks of the Condition Block will be visible or hidden according to the settings defined here.
šļø Display Conditions ("Show If")#
Show If will make the block visible if:š Attribute is Assigned
The block appears when any value is assigned to the specified attribute.šÆ Specific Value Match
The block appears when the attribute has a specific value assigned.ā Attribute Not Assigned
The block appears when the specified attribute is not assigned.š Partial Match
One condition is met (Partial Match). In this example, it will be if the "TA - Summary" attribute is assigned OR if the "TA - Analysis lenght" attribute is assigned with the value "Short".šÆ Complete Match Logic#
ā
Match All Conditions
All conditions are met (Match All). In this example, it will be if the "TA - Summary" attribute is assigned AND if the "TA - Analysis lenght" attribute is assigned with the value "Short".š Logic Types: Choose between "Partial Match" (OR logic) and "Match All" (AND logic) to create simple or complex visibility rules.
š« Hide Conditions ("Do Not Display If")#
The Do Not Display If section works on the same principle, obviously by hiding the Condition Block and its Children instead of making them visible.š§ Hide Logic#
ā Same conditions as display logic
š Inverse behavior - hides instead of shows
ā” Powerful exclusion rules for content
šÆ Use Cases#
š« Exclude content for specific user types
š± Hide advanced options for beginners
š Restrict access based on permissions
š·ļø Block Identification#
Finally, the Identify the block with attributes option is similar to that of all other Blocks and allows using the block as a variant of a Choice Block, for example.ā
Advanced Integration: This feature enables sophisticated content workflows by allowing Condition Blocks to participate in Choice Block logic. You can learn more here : š² Choice Block š Best Practices#
šÆ Simple Conditions
Start with basic attribute assignments before building complex logicš Test Scenarios
Test all possible attribute combinations to ensure proper visibility behaviorš Document Logic
Keep track of your condition logic for maintenance and troubleshooting