4

How can I display entries that only have a particular field completed.

In my case I am displaying all entries but would like to exclude any entries that have no image field completed. The image field is a matrix field.

Thanks Sinan

1 Answer 1

9

You can use the search parameter.

{exp:channel:entries search:image_custom_field_name="not IS_EMPTY" ...}
  ...
{/exp:channel:entries}

This will return entries where the image custom field has been filled in.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.