Answers.Body: <p>Enter the Membership Type ID and that will display the correct value in the webform.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-21T23:21:55.160Z
Answers.LastActivityDate: 2017-08-21T23:21:55.160Z
Answers.UserDisplayName: Martin Fuggle
Answers.Body: <p>How would I find the ID of the value I want? e.g. in your example, what is the Membership Type ID? Is it some code or just the name of the field?</p>
  
  <p>Thanks,</p>
  
  <p>Sam</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-19T18:46:50.067Z
Answers.Text: You can go to [yoursite]civicrm/admin/member/membershipType?reset=1  look up the membership in question, right click open-new tab "Edit" button, then the URL will  look like:
  
  [yoursite]/civicrm/admin/member/membershipType/add?action=update&id=8&reset=1
  
  id=8 in this case
Answers.UserDisplayName: Zachary
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-19T14:58:33.997Z
Answers.LastActivityDate: 2019-08-19T14:58:33.997Z
Answers.UserDisplayName: SamF
Body: <p>Using Drupal 7.56, CiviCRM 4.7.22 and Webform 7.x-4.15.</p>
  
  <p>I have two fields in a webform: one containing gender and the second containing a selection of membership types. If the gender is, for example, female I want to use the webform conditionals to set the membership type to a specific value. What value must I enter in the field displayed when I select 'set to'?</p>
  
Tags: <webform-civicrm><condition>
Title: Webform Conditional - 'set to' membership type
ThreadText: # Webform Conditional - 'set to' membership type
  
  (Asked by: username_0 on 2017-08-21)
  
  Using Drupal 7.56, CiviCRM 4.7.22 and Webform 7.x-4.15.
  
  I have two fields in a webform: one containing gender and the second containing a selection of membership types. If the gender is, for example, female I want to use the webform conditionals to set the membership type to a specific value. What value must I enter in the field displayed when I select 'set to'?
  
  **Tags:** webform-civicrm, condition
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2017-08-21. Score: 1
  
  Enter the Membership Type ID and that will display the correct value in the webform.
  
  
  ---
  
  ### Answer by username_1 on 2019-08-19. Score: 0
  
  How would I find the ID of the value I want? e.g. in your example, what is the Membership Type ID? Is it some code or just the name of the field?
  
  Thanks,
  
  Sam
  
  > **Comments:**
  > **username_2**: You can go to [yoursite]civicrm/admin/member/membershipType?reset=1  look up the membership in question, right click open-new tab "Edit" button, then the URL will  look like:  [yoursite]/civicrm/admin/member/membershipType/add?action=update&id=8&reset=1  id=8 in this case  
  
  ---
  
  