@stevep,
ACF 5.7 brings with it new field conditionals that only have two parameters.
Unfortunately, ACF Builder doesn't allow conditions with two parameters.
I've tried passing null but while it successfully builds, it stops the validation from working properly in certain scenarios.
Unfortunately this is causing a breaking issue for me.
The two conditionals in question are "==empty" and "!=empty".
Here's an example of how the fields output through the generate PHP option in ACF.
'conditional_logic' => array(
array(
array(
'field' => 'field_5b1305029be7d',
'operator' => '>',
'value' => '6.4999999',
),
array(
'field' => 'field_5b1305029be7d',
'operator' => '<',
'value' => '8.5000000',
),
array(
'field' => 'field_5b1305029be7d',
'operator' => '!=empty',
),
),
),
@stevep,
ACF 5.7 brings with it new field conditionals that only have two parameters.
Unfortunately, ACF Builder doesn't allow conditions with two parameters.
I've tried passing null but while it successfully builds, it stops the validation from working properly in certain scenarios.
Unfortunately this is causing a breaking issue for me.
The two conditionals in question are "==empty" and "!=empty".
Here's an example of how the fields output through the generate PHP option in ACF.