2

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'?

2 Answers 2

1

Enter the Membership Type ID and that will display the correct value in the webform.

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

1
  • 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
    – Zachary
    Commented Aug 19, 2019 at 18:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.