Answers.Body: <p>I've written a small module that allows you to use the select2 widget on your webforms:</p>
  
  <p><a href="https://github.com/colemanw/webform_select2" rel="nofollow">https://github.com/colemanw/webform_select2</a></p>
  
  <p>Enjoy!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-25T17:25:56.003Z
Answers.LastActivityDate: 2016-02-25T17:25:56.003Z
Answers.UserDisplayName: Coleman
Body: <p>We have a circumstance where we have a multi select custom field with around 200 options. We then have this field loaded into a Drupal webform (for this project we need to use Webforms). </p>
  
  <p>The standard Drupal Webform field options only allow either a CTRL click multi select or radio buttons, neither of which will work with that many options.</p>
  
  <p>We have also tried a module called Chosen (<a href="https://www.drupal.org/project/chosen">https://www.drupal.org/project/chosen</a>) but have failed to get this to work with the Webform. Has anyone got any experience of getting Chosen working with Webforms or an alternative approach?</p>
  
  <p>Oliver</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-26T15:24:34.083Z
Comments.Text: Does [Multiselect](https://www.drupal.org/project/multiselect) work with Webform? Even then, this sounds like bad UX; an autocomplete widget or hierarchical select might be better.
Comments.UserDisplayName: choster
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-26T16:28:44.740Z
Comments.Text: Agree that Chosen is the way to go -- if you can't get it working with a standard Drupal Webform, you may want to post this in the Drupal StackExchange. (This issue may be related: http://drupal.stackexchange.com/questions/129489/webform-capability-issue-with-chosen )
Comments.UserDisplayName: Laryn
Tags: <webform-civicrm>
Title: Displaying long CiviCRM multi select fields in a Drupal Webform
ThreadText: # Displaying long CiviCRM multi select fields in a Drupal Webform
  
  (Asked by: username_0 on 2016-01-26)
  
  We have a circumstance where we have a multi select custom field with around 200 options. We then have this field loaded into a Drupal webform (for this project we need to use Webforms).
  
  The standard Drupal Webform field options only allow either a CTRL click multi select or radio buttons, neither of which will work with that many options.
  
  We have also tried a module called Chosen (<https://www.drupal.org/project/chosen>) but have failed to get this to work with the Webform. Has anyone got any experience of getting Chosen working with Webforms or an alternative approach?
  
  Oliver
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: Does [Multiselect](https://www.drupal.org/project/multiselect) work with Webform? Even then, this sounds like bad UX; an autocomplete widget or hierarchical select might be better.  
  > **username_2**: Agree that Chosen is the way to go -- if you can't get it working with a standard Drupal Webform, you may want to post this in the Drupal StackExchange. (This issue may be related: http://drupal.stackexchange.com/questions/129489/webform-capability-issue-with-chosen )  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2016-02-25. Score: 3
  
  I've written a small module that allows you to use the select2 widget on your webforms:
  
  <https://github.com/colemanw/webform_select2>
  
  Enjoy!
  
  
  ---
  
  