I’m trying to set this up:
- a True/False ACF field (or whatever else works) in the edit page of one of my wp pages;
- default value should be 0
- through a condition, IF value is 0, the section SHOULD NOT show up
- IF value is 1, the section SHOULD show up
If I test the field with a {{acf:FIELD_NAME}} string, it returns the correct initial value (in Cornerstone as in frontend) as 0, but when I change the value to 1 from the backend and refresh the frontend, it updates the test value but, apparently, not the value that switch the condition (because the section still doesn’t show up.
By the way, If I use the True/False field, I get the 1 value but not the 0 value (the {{acf:FIELD_NAME}} ain’t returning anything, like the value was NULL.
If I use a couple of Radio Buttons, I get both the values showing on the test string, but the condition still ain’t working.
Can you help?
Thanks
Alessandro