Hey there! I’m working on converting a PHP template to utilize Pro’s LAYOUT feature. In PHP I check if a field is filled in for pretty much every dynamic field in the CPT. I was wondering if it’s possible to use Pro’s conditions to do this same kind of check?
Currently, I have "conditions > Expression (string). But it only allows me: is, is not, in, not in as my options. I wish there was an option for “is set, is not set”.
In PHP I always do this:
if(get_field(‘field_name’) !== ‘’) : // Display element
if(get_field(‘field_name’)) : // Display element
Any ideas on how to make this work?