0

Is there any module or built-in function to check if all the node fields are filled with some values, and list nodes that fails this check?

EDIT: In short, I just want to get the list of nodes having any of their field empty.

4
  • Show us your use case. Do you need a list of nodes with empty fields waiting to be filled? Or you want to make all fields required at save? Or what? There are many ways for many needs.
    – Mołot
    Commented Jun 14, 2013 at 8:30
  • possible duplicate of Check if a field is empty
    – Chapabu
    Commented Jun 14, 2013 at 8:33
  • I just want to get the list of nodes having any of their field empty.
    – qasimzee
    Commented Jun 14, 2013 at 8:43
  • qasimzee please update your question with information like that, instead of posting it in a comment. @Chapabu in light of OP's comment, it is not a duplicate... well, not of that question anyway.
    – Mołot
    Commented Jun 14, 2013 at 8:50

1 Answer 1

2

Use Views module.

Create a view, then add a filters Content: field_name (empty) - one for each field. Change operator from AND to OR and done, you have a list of nodes with at least one field empty.

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.