Marking attributes and attribute groups visible based on other attributes
You can decide which attributes to make visible in a form based on the values of other attributes in that form. For example, if the user selects United States in the country attribute, you can make visible its dependent State attribute. You can also make attribute groups visible based on values of other attributes in a form.
About this task
You can build rules on single-select and single-select from database attributes only. When you select the option value from the drop-down that triggers the rule, another attribute or attribute group becomes visible.
Procedure
- Open or edit a form.
-
Add attributes and attribute groups to the form as needed.
If you want to build a rule to make State visible when users select United States as the Country, you must create attributes for Country and State.
-
Click Create/Edit Form Attribute Rules.
The Rule Builder opens with existing rules and an area to create new rules.
-
Create or edit rules as needed by following these steps:
- Click Accept and Close after you create, edit, and delete attribute rules.
- Save the form.
What to do next
When you add rules to forms, be careful not to make conflicting or circular rules.
If you edit rules on a form that is already published, you must publish the form again to use the modified rule.
When you change or delete attributes or attribute groups, Unica Plan warns you if that the attribute or attribute group is used in a rule. If you delete the attribute or attribute group anyway, the attribute or attribute group is removed from the rules. If a rule is invalid, it is flagged in the rule builder for your attention.
All attributes and attribute groups that you do not build rules for are by default made visible and are shown.