Global Conditional Logic

Enable Global Conditional Logic for a specific field, which can then be used in an another Field Group as condition, both as Field Group Condition or Field Condition.

Note: This feature is an extension of the native ACF Conditional Logic, which use Javascript to show/hide field dynamically on-page. It requires all Fields & Field Groups using the Global Condition to be displayed on the same Options Page, Post, Page etc…

If you need to show/hide a field based on a value in the database (from an another options page, post, page…) you’ll have to use the acf/prepare_field hook (see documentation) in combination with get_field() (see documentation) instead.

  • Order
  • Label
  • Name
  • Key
  • Type
width
%
class
id

Field Condition

Field Settings

The Global Fields will become available in any Field Conditional Logic settings.

  • Order
  • Label
  • Name
  • Key
  • Type

Show this field if

and

or

Add rule group

Field Render

Controllers
Field Group

Field Group Condition

Field Group Location

The Global Fields will also become available in all Field Groups Locations Rules. See Field Groups Field Value Location.

Location

Create a set of rules to determine edit screens

Show this field group if

and

Field Group Render

Controller
Field Group