Problem with adding checkbox to a view of flags with webform view
Using drupal commerce (irrelevant), session_api, flags, views, webform4, custom content type (product display in my example), custom module.

Works even under anonymouse user

I think it's in select field settings.

Called "Multiple":



webform_flags.module:

    &lt;?php 
 /**
 * Implements hook_webform_select_options_info().
 */
 function webform_flags_webform_select_options_info() {
    $items = array();
     if (function_exists('webform_flags_user_flag_sample_requests')) {
         $items['webform_flags_user_flag_sample_requests'] = array(
         'title' =&gt; t("User's flagged products"),
         'options callback' =&gt; 'webform_flags_user_flag_sample_requests',
         );
     }

    return $items;
 }

 function webform_flags_user_flag_sample_requests() {
     $view = views_get_view('user_flagged_products', TRUE);
     $options = array();
     if(isset($view)){
         $view-&gt;set_display('webform_options');
         $view-&gt;execute();

         if ($view-&gt;result) {
             //$row_class = $view-&gt;style_options['row_class'];
             //$attributes = $row_class ? " class='$row_class'" : '';
             foreach($view-&gt;result as $item) {
                //dpm($item-&gt;field_field_image);
                $options[$item-&gt;nid] = '&lt;a&gt;' . render($item-&gt;field_field_image[0]['rendered']) . $item-&gt;node_title .  '&lt;/a&gt;';
         }
         }
         else {
            $options[0] = t("Nothing");
         }  
     }


    return $options;
 }


View's settings: