True/False exposed Views checkbox for Computed Field Imagine a user has ten fields of type "List(text)" which each have for their widget "Check boxes/radio buttons". Each one is displayed to the user as a single value checkbox which asks the user to state whether they agree with something or not.

A distinct Computed Field of data type TinyInt uses custom PHP to examine the values of these List(text) fields checkboxes. If all are checked the Computed Field is set to have the value of 1. If any or all are unchecked the Computed Field is set to have the value of 0. 

(Ideally I would like the Computed Field to be of Boolean type - so simple TRUE/FALSE - but this does not seem possible out of the box. Anyway, the real question is the following.) 

In a View with exposed fields, how can you use the Computed Field as an exposed field that offers the user a single checkbox: "Find all users where the Computed Field value is 1: [•]". 

If this isn't directly possible, I'm happy to have a workaround that involves creating a distinct (hidden) field in the user profile and then uses this for the Views exposed filter search. But I can't think of a way to do this right now... Thanks.
Change exposed computed field's filter type to "Grouped filters",
Widget type to "Radios",
Check "Allow multiple selections" checkbox,
Expose one option equal to 1 with your choice of label


See screenshot:




The view export:

&lt;?php

$view = new view();
$view-&gt;name = 'computed_field_test';
$view-&gt;description = '';
$view-&gt;tag = 'default';
$view-&gt;base_table = 'node';
$view-&gt;human_name = 'Computed Field Test';
$view-&gt;core = 7;
$view-&gt;api_version = '3.0';
$view-&gt;disabled = FALSE; /* Edit this to true to make a default view disabled initially */

/* Display: Master */
$handler = $view-&gt;new_display('default', 'Master', 'default');
$handler-&gt;display-&gt;display_options['title'] = 'Computed Field Test';
$handler-&gt;display-&gt;display_options['use_more_always'] = FALSE;
$handler-&gt;display-&gt;display_options['access']['type'] = 'perm';
$handler-&gt;display-&gt;display_options['cache']['type'] = 'none';
$handler-&gt;display-&gt;display_options['query']['type'] = 'views_query';
$handler-&gt;display-&gt;display_options['exposed_form']['type'] = 'basic';
$handler-&gt;display-&gt;display_options['exposed_form']['options']['autosubmit'] = TRUE;
$handler-&gt;display-&gt;display_options['pager']['type'] = 'full';
$handler-&gt;display-&gt;display_options['pager']['options']['items_per_page'] = '10';
$handler-&gt;display-&gt;display_options['style_plugin'] = 'table';
/* Field: Content: Title */
$handler-&gt;display-&gt;display_options['fields']['title']['id'] = 'title';
$handler-&gt;display-&gt;display_options['fields']['title']['table'] = 'node';
$handler-&gt;display-&gt;display_options['fields']['title']['field'] = 'title';
$handler-&gt;display-&gt;display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler-&gt;display-&gt;display_options['fields']['title']['alter']['ellipsis'] = FALSE;
/* Field: Content: List 1 */
$handler-&gt;display-&gt;display_options['fields']['field_list_1']['id'] = 'field_list_1';
$handler-&gt;display-&gt;display_options['fields']['field_list_1']['table'] = 'field_data_field_list_1';
$handler-&gt;display-&gt;display_options['fields']['field_list_1']['field'] = 'field_list_1';
/* Field: Content: List 2 */
$handler-&gt;display-&gt;display_options['fields']['field_list_2']['id'] = 'field_list_2';
$handler-&gt;display-&gt;display_options['fields']['field_list_2']['table'] = 'field_data_field_list_2';
$handler-&gt;display-&gt;display_options['fields']['field_list_2']['field'] = 'field_list_2';
/* Field: Content: Computed */
$handler-&gt;display-&gt;display_options['fields']['field_computed']['id'] = 'field_computed';
$handler-&gt;display-&gt;display_options['fields']['field_computed']['table'] = 'field_data_field_computed';
$handler-&gt;display-&gt;display_options['fields']['field_computed']['field'] = 'field_computed';
/* Sort criterion: Content: Post date */
$handler-&gt;display-&gt;display_options['sorts']['created']['id'] = 'created';
$handler-&gt;display-&gt;display_options['sorts']['created']['table'] = 'node';
$handler-&gt;display-&gt;display_options['sorts']['created']['field'] = 'created';
$handler-&gt;display-&gt;display_options['sorts']['created']['order'] = 'DESC';
/* Filter criterion: Content: Published */
$handler-&gt;display-&gt;display_options['filters']['status']['id'] = 'status';
$handler-&gt;display-&gt;display_options['filters']['status']['table'] = 'node';
$handler-&gt;display-&gt;display_options['filters']['status']['field'] = 'status';
$handler-&gt;display-&gt;display_options['filters']['status']['value'] = 1;
$handler-&gt;display-&gt;display_options['filters']['status']['group'] = 1;
$handler-&gt;display-&gt;display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler-&gt;display-&gt;display_options['filters']['type']['id'] = 'type';
$handler-&gt;display-&gt;display_options['filters']['type']['table'] = 'node';
$handler-&gt;display-&gt;display_options['filters']['type']['field'] = 'type';
$handler-&gt;display-&gt;display_options['filters']['type']['value'] = array(
  'page' =&gt; 'page',
);
/* Filter criterion: Content: Computed (field_computed) */
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['id'] = 'field_computed_value';
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['table'] = 'field_data_field_computed';
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['field'] = 'field_computed_value';
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['exposed'] = TRUE;
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['expose']['operator_id'] = 'field_computed_value_op';
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['expose']['label'] = 'Computed (field_computed)';
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['expose']['operator'] = 'field_computed_value_op';
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['expose']['identifier'] = 'field_computed_value';
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['expose']['multiple'] = TRUE;
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['is_grouped'] = TRUE;
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['group_info']['identifier'] = 'field_computed_value';
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['group_info']['optional'] = FALSE;
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['group_info']['widget'] = 'radios';
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['group_info']['multiple'] = TRUE;
$handler-&gt;display-&gt;display_options['filters']['field_computed_value']['group_info']['group_items'] = array(
  1 =&gt; array(
    'title' =&gt; 'Find all users where the Computed Field value is 1',
    'operator' =&gt; '=',
    'value' =&gt; array(
      'value' =&gt; '1',
      'min' =&gt; '',
      'max' =&gt; '',
    ),
  ),
  2 =&gt; array(
    'title' =&gt; '',
    'operator' =&gt; '=',
    'value' =&gt; array(
      'value' =&gt; '',
      'min' =&gt; '',
      'max' =&gt; '',
    ),
  ),
);

/* Display: Page */
$handler = $view-&gt;new_display('page', 'Page', 'page');
$handler-&gt;display-&gt;display_options['path'] = 'computed-field-test';
$handler-&gt;display-&gt;display_options['menu']['type'] = 'normal';
$handler-&gt;display-&gt;display_options['menu']['title'] = 'Computed Field Test';
$handler-&gt;display-&gt;display_options['menu']['name'] = 'devel';