Skip to main content

How to set a condition based on whether current term is a parent or child

Updated over a year ago

If current term is parent:

Here is a way to set up dynamic visibility:

Visibility Condition type should be set to "Show"

Select Condition - Greater than, Field - macros "Current Object Field", where you select Parent Term ID

A‌nd Value will be 0

If current term is child:

Here is a way to set up dynamic visibility:

Visibility Condition type should be set to "Hide"

Select Condition - Greater than, Field - macros "Current Object Field", where you select Parent Term ID

Value is 0

Did this answer your question?