Answers.Body: <p>I'd try using <a href="https://www.drupal.org/project/civicrm_entity" rel="nofollow">civicrm_entity</a> with <a href="https://www.drupal.org/project/entityreference" rel="nofollow">entityreference</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-15T19:21:48.027Z
Answers.LastActivityDate: 2015-06-15T19:21:48.027Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>If the above doesn't 'do it' for you. You can set Drupal Webforms to work on any node content, so that would be one option. Just go to eg admin/structure/types/manage/page and set Webform to be enabled.</p>
  
  <p>Otherwise you could set a Drupal Webform to be a Block and expose that block in the situations where you need to catch this info. Just look in Webform tab > Form settings > Advanced Settings.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-22T16:07:45.177Z
Answers.Text: Ooh I like this! Please elaborate?
Answers.UserDisplayName: JohnFF
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-22T18:30:38.227Z
Answers.Text: Which? The webform as a Block - just look in Webform tab > Form settings > Advanced Settings. If you mean webform on other Content types, go to eg admin/structure/types/manage/page and set Webform to be enabled.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-15T20:06:30.587Z
Answers.LastActivityDate: 2017-03-22T18:31:21.950Z
Answers.LastEditDate: 2017-03-22T18:31:21.950Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>We have occasional need to allow submissions of content (either Drupal nodes or comments on existing nodes). </p>
  
  <p>What is the recommended way to expose CiviCRM contact fields on a node or comment submission form so that the person filling the form can add their contact/credit information, which is added to CiviCRM if it doesn't exist, or linked to a contact record and potentially updated if the contact already exists?</p>
  
Tags: <drupal>
Title: How should I add CiviCRM contact fields to Drupal node submit / comment submit forms?
ThreadText: # How should I add CiviCRM contact fields to Drupal node submit / comment submit forms?
  
  (Asked by: username_0 on 2015-06-15)
  
  We have occasional need to allow submissions of content (either Drupal nodes or comments on existing nodes).
  
  What is the recommended way to expose CiviCRM contact fields on a node or comment submission form so that the person filling the form can add their contact/credit information, which is added to CiviCRM if it doesn't exist, or linked to a contact record and potentially updated if the contact already exists?
  
  **Tags:** drupal
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-06-15. Score: 2 | Accepted answer
  
  I'd try using [civicrm\_entity](https://www.drupal.org/project/civicrm_entity) with [entityreference](https://www.drupal.org/project/entityreference).
  
  
  ---
  
  ### Answer by username_2 on 2015-06-15. Score: 2
  
  If the above doesn't 'do it' for you. You can set Drupal Webforms to work on any node content, so that would be one option. Just go to eg admin/structure/types/manage/page and set Webform to be enabled.
  
  Otherwise you could set a Drupal Webform to be a Block and expose that block in the situations where you need to catch this info. Just look in Webform tab > Form settings > Advanced Settings.
  
  > **Comments:**
  > **username_3**: Ooh I like this! Please elaborate?  
  > **username_2**: Which? The webform as a Block - just look in Webform tab > Form settings > Advanced Settings. If you mean webform on other Content types, go to eg admin/structure/types/manage/page and set Webform to be enabled.  
  
  ---
  
  