ACF and visibility conditions

ACF “Exclusivité” of product “BYERS” is true
ACF “Exclusivité” of all others products are false

Expected behavior:

Others → Block “EXCLUSIVITÉ PREMIUM” → hidden

Observed behaviors (with !=):

Observed behaviors (with ===):

Environment info

  • WordPress version: 6.1.1
  • Gutenberg Plugin version: N/A
  • Cwicly Plugin version: 1.2.8
  • Cwicly Theme version: 1.0.3

I temporary fixed the issue.
I set the following condion:

and the result is ok:

The field “Exclusivité” is a toggle “No/Yes” so the default value is “No”.
If the target value is “No” and the user doesn’t click → all is ok
But if the user clicks “Yes” then “No” → the settings becomes wrong because “Exclusivity” becomes “not empty” but with value “false” (0?) and the display is not the expected one.

I really want that my setting runs according to the value “True” or “False”.
But with the present behavior, we seem to be in Quantic Physic where the value of “Exclusivité” seems to be in the same time “True” and “False” (see previous post).

Hello @weedor,

Apologies for the trouble you’re having with boolean values.
Our next updates will bring support for these fields with a more specific condition so that they are targeted and evaluated properly.


Thank you @Louis
This topic was important to me because of the possibility or not for clients to acces to booking of events.
With the temporary fix, the issue becomes “not urgent” at all and it is possible to delay the Cwicly fix is you works on anothers projects.

1 Like

Hello @weedor,

Thanks for your report.
We now have a true/false conditions for ACF fields in version

If you still experience this issue, I’d really appreciate it if you could let me know by replying to this thread.​


1 Like

That’s works well now. Thank you @Louis
Can I suggest to change the label **Show/Hide Conditions" to “Hide Conditions”

1 Like