Answers.Body: <p>Pinto Vasa, Welcome to CiviCRm SE. Yes its possible to include any CiviCRM custom fields on webform which is available under their respective tab of CiviCRM webform config setting. Those fields will be pre-populated on webform based on logged in user details, will be empty if its a anonymous submission or new submission if logged in. The webform can be used to populate details of specific contact by passing contact id (and checksum if the user doesn't have sufficient permission eg anonymous user or minimal permission authenticated user). </p>
  
  <p>eg <a href="http://example.org/renewmembership?cid=202&amp;cs=9f4a2e5d4d57567b6ba4468750ac128d_1585225559_168" rel="nofollow noreferrer">http://example.org/renewmembership?cid=202&amp;cs=9f4a2e5d4d57567b6ba4468750ac128d_1585225559_168</a> </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-27T15:05:37.397Z
Answers.Text: Pradeep, thanks a lot for your prompt reply. At the moment, however, another big problem is created on the Existing contact field defined with the autocomplete widget: it seems that jquery behaves in the strangest way, for example it cannot find the beginning of a  last_name "Vas" but instead finds "asa" and in any case after the fourth character, he refuses to continue self-completion. This strange behavior changes depending on how you set the "Contact Display Field (s)" (Display Name, o Sort Name or Last Name).
Answers.UserDisplayName: Pino Vasa
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-27T15:05:47.463Z
Answers.Text: I tried reinstalling Jquery Update on Drupal, and even the Chrome Dev Tool Console isn't helpful, as no errors are raised. At the moment I must first solve this problem because I have to present existings data (included the custom ones...) to the member who wants to renew and to whom I sent the contact_id and checksum by email. In our society there is no provision for managing a drupal user database, and the url recognition system is the most suitable.
Answers.UserDisplayName: Pino Vasa
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-26T12:34:25.560Z
Answers.LastActivityDate: 2020-03-26T12:34:25.560Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I'm starting out to create a CiviCRM system under Drupal for managing the memberships of a Photobiology Society. I have already imported contacts, organizations, memberships and contributions from the old system.<br />Now I should carry out the registration phase of the applications or renewals to the society through the Webform integration. No problem for the applications, while for the renewals I would like to present all the data to the old member, INCLUDING the custom ones that I had to create.
  If I include an "existing contact" field, I'm able to only fill in the standard CiviCRM fields (name, address, email, phone, etc.) and not the custom ones, including the active membership.
  Can someone help me and above all is it possible to do this?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-03-26T12:24:04.273Z
Comments.Text: I think you will need to pass membership id in the url for the membership custom fields to prepopulate
Comments.UserDisplayName: Pradeep Nayak
Tags: <drupal><civimember><contacts><custom-fields><webform-civicrm>
Title: Custom fields in webform membership renewal
ThreadText: # Custom fields in webform membership renewal
  
  (Asked by: username_0 on 2020-03-26)
  
  I'm starting out to create a CiviCRM system under Drupal for managing the memberships of a Photobiology Society. I have already imported contacts, organizations, memberships and contributions from the old system.  
  Now I should carry out the registration phase of the applications or renewals to the society through the Webform integration. No problem for the applications, while for the renewals I would like to present all the data to the old member, INCLUDING the custom ones that I had to create.
  If I include an "existing contact" field, I'm able to only fill in the standard CiviCRM fields (name, address, email, phone, etc.) and not the custom ones, including the active membership.
  Can someone help me and above all is it possible to do this?
  
  **Tags:** drupal, civimember, contacts, custom-fields, webform-civicrm
  
  > **Comments:**
  > **username_1**: I think you will need to pass membership id in the url for the membership custom fields to prepopulate  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-03-26. Score: 1
  
  Pinto username_0, Welcome to CiviCRm SE. Yes its possible to include any CiviCRM custom fields on webform which is available under their respective tab of CiviCRM webform config setting. Those fields will be pre-populated on webform based on logged in user details, will be empty if its a anonymous submission or new submission if logged in. The webform can be used to populate details of specific contact by passing contact id (and checksum if the user doesn't have sufficient permission eg anonymous user or minimal permission authenticated user).
  
  eg <http://example.org/renewmembership?cid=202&cs=9f4a2e5d4d57567b6ba4468750ac128d_1585225559_168>
  
  > **Comments:**
  > **username_0**: username_1, thanks a lot for your prompt reply. At the moment, however, another big problem is created on the Existing contact field defined with the autocomplete widget: it seems that jquery behaves in the strangest way, for example it cannot find the beginning of a  last_name "Vas" but instead finds "asa" and in any case after the fourth character, he refuses to continue self-completion. This strange behavior changes depending on how you set the "Contact Display Field (s)" (Display Name, o Sort Name or Last Name).  
  > **username_0**: I tried reinstalling Jquery Update on Drupal, and even the Chrome Dev Tool Console isn't helpful, as no errors are raised. At the moment I must first solve this problem because I have to present existings data (included the custom ones...) to the member who wants to renew and to whom I sent the contact_id and checksum by email. In our society there is no provision for managing a drupal user database, and the url recognition system is the most suitable.  
  
  ---
  
  