Hi,
I’d like to display a list of entries depending on whether at least one of three custom fields have been entered.
{exp:channel:entries
channel="products"
category="{category_id}”
dynamic=“no”
search:custom_field_1=“not IS_EMPTY”
search:custom_field_2=“not IS_EMPTY”
search:custom_field_3=“not IS_EMPTY”}
{/exp:channel:entries}
This isn’t working because it’s checking that all 3 fields aren’t empty.
How can I check that at least 1 isn’t empty.
(In my example, my exp:channel:entries is wrapped with a exp:channel:categories tag. That’s where the category_id is coming from)
If the answer is to use the query module, could you please give me an example? I’m not so good with SQL 😊
Thanks!