We are trying to use Boolean module inside Drupal 7 to define a boolean field for a custom content type , news .

the module seems to be enabled without any visible issues . the issue comes when we wish to use that boolean field's data for Filtering in a view.

e.g The boolean field is called editor-choice , in the View we wish to get all news content type that is published and has Editor's choice value to true. please see below screenshots of the three steps being performed.

choosing the field to use for filter

choosing what value to use for Filter

error message

kindly assist what can be the possible issue, or if possible, suggest some other plugin that may be used foe this purpose.

  • Boolean field is already available in Drupal7. May I ask why you need to use boolean module to achieve that?
    – pown
    Feb 19, 2015 at 11:47
  • could not find a boolean field by default :) . can you guide by which name it exists.
    – Abdul Ali
    Feb 19, 2015 at 11:48

1 Answer 1


If you are using Drupal latest version, boolean field is available by default in core.

Goto your content type => Manage field => Add new field => Select field type

enter image description here

In the manage field configuration, give 'on' value and 'off' value. Here I have given, Yes and No.

enter image description here

In the views filter, select the option you wish to filter. Thats it.

enter image description here

  • ok. thank you got it :) . can you also guide in more small thing about Views.. it seems that it is repeating the contents. e.g. currently only one node value was set to true but it is repeating 2-3 times.
    – Abdul Ali
    Feb 19, 2015 at 12:06
  • updated the answer. pls check
    – pown
    Feb 19, 2015 at 12:16

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.