Answers.Body: <p>Once you have selected 'user select' for the groups in the CiviCRM section of the webform admin section, save and return to the 'components' tab (where all the webform fields are listed).  Find your Groups field and edit it from the component list. If you change the list from Live to Static, you can then select which of your groups will appear as an option to the user.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-08T02:20:54.793Z
Answers.Text: Right. Bonus points if you [update the docs](https://wiki.civicrm.org/confluence/display/CRMDOC/Webform+CiviCRM+Integration#WebformCiviCRMIntegration-GroupsandTags) :)
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-08T22:03:28.093Z
Answers.Text: Docs updated :).
Answers.UserDisplayName: Allen Hutchison
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-08T01:21:45.363Z
Answers.LastActivityDate: 2016-06-08T01:21:45.363Z
Answers.UserDisplayName: Allen Hutchison
Body: <p>I'd like to provide the option for users to subscribe to one of two CiviCRM Mailing List groups when submitting a Webform.</p>
  
  <p>From the <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Webform+CiviCRM+Integration#WebformCiviCRMIntegration-GroupsandTags" rel="noreferrer">CiviCRM docs</a> I can see how to use a CiviCRM-integrated Webform to add contacts to specific groups when they submit the form OR allow users to select from <em>any</em> of the groups in CiviCRM via the "User Select" option.</p>
  
  <p>Is there a way to allow users to opt-in to a limited selection of existing groups, rather than allowing all groups?</p>
  
Tags: <drupal><webform-civicrm>
Title: How can I allow opt-in subscription to specific groups with Webform CiviCRM?
ThreadText: # How can I allow opt-in subscription to specific groups with Webform CiviCRM?
  
  (Asked by: username_0 on 2016-06-08)
  
  I'd like to provide the option for users to subscribe to one of two CiviCRM Mailing List groups when submitting a Webform.
  
  From the [CiviCRM docs](https://wiki.civicrm.org/confluence/display/CRMDOC/Webform+CiviCRM+Integration#WebformCiviCRMIntegration-GroupsandTags) I can see how to use a CiviCRM-integrated Webform to add contacts to specific groups when they submit the form OR allow users to select from *any* of the groups in CiviCRM via the "User Select" option.
  
  Is there a way to allow users to opt-in to a limited selection of existing groups, rather than allowing all groups?
  
  **Tags:** drupal, webform-civicrm
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-06-08. Score: 8 | Accepted answer
  
  Once you have selected 'user select' for the groups in the CiviCRM section of the webform admin section, save and return to the 'components' tab (where all the webform fields are listed). Find your Groups field and edit it from the component list. If you change the list from Live to Static, you can then select which of your groups will appear as an option to the user.
  
  > **Comments:**
  > **username_2**: Right. Bonus points if you [update the docs](https://wiki.civicrm.org/confluence/display/CRMDOC/Webform+CiviCRM+Integration#WebformCiviCRMIntegration-GroupsandTags) :)  
  > **username_1**: Docs updated :).  
  
  ---
  
  