Answers.Body: <p><strong>Yes:</strong> you can use Webform CiviCRM to make a Contribution of behalf of an Organization -> make Contact 1: the Organization; and make Contact 2: the Individual; </p>
  
  <p><strong>No:</strong> you can not present this as a choice on the same webform - as the Contribution will be assigned to Contact 1; So: make a screen/page ahead of the webforms - with two nice buttons: "Contribute as Individual" "Contribute as Organization" -> and then link these to two different webforms; </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-06T22:58:37.793Z
Answers.Text: In the absence of a solution that allows choice between a person and an organization contribution on the same webform I have chosen your suggestion to create two webforms separately.
  
  Anyway, I have an issue not seeing organization submited data on sent contributions receipts for organizations. It seems necessary to embed a profile on the contribution page with organization fields but this isn't possible. See https://civicrm.stackexchange.com/questions/12640/why-cant-i-use-an-organization-profile-type-in-a-contribution-page. Any suggestion to solve it?
Answers.UserDisplayName: Francesc Bassas i Bullich
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-07T00:12:50.853Z
Answers.Text: How about generate a receipt from the Drupal side?
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-07T08:35:32.167Z
Answers.Text: Yes, it seems the most realistic option while it is not possible to solve it in the other way.
Answers.UserDisplayName: Francesc Bassas i Bullich
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-07T13:40:38.010Z
Answers.Text: And as a bonus you can make that Email really nice on the Drupal/webform side 
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-10T13:18:19.667Z
Answers.Text: What I’ve started doing since is use CiviRules to trigger an Email (using a Message Template) to be sent out -> react on Post Contributiom. Because when you click Submit on the Webform the transaction has not happened yet. I used to create tokens for last contribution id, trxn_id, total_amount, etc but I think these are available in Fuzion’s CiviToken extension now.
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-03T02:41:09.697Z
Answers.LastActivityDate: 2017-11-03T02:41:09.697Z
Answers.UserDisplayName: KarinG - Semper IT
Answers.Body: <p>Instead of 2 links in my menu to two different webforms, I made an image of a Yes Checkbox.<a href="https://i.sstatic.net/Bs3FV.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Bs3FV.png" alt="Checkbox with Yes"></a></p>
  
  <p>At the top of my primary form (individual) I added a Markup component and put in the following code</p>
  
  <pre><code>&lt;label &gt;This donation is from an organization &lt;/label&gt;&lt;a href="/donate-org" style="text-decoration:none; color:#444;"&gt;&lt;img src="sites/default/files/images/BoxYes.png " alt="Donate from an organizations here" style="width:49px !important;"&gt;
  </code></pre>
  
  <p></p>
  
  <p>This still feels like it is part of the form to donors but it actual is a link to my other form.</p>
  
  <p>On my other form (organization) I did the same thing but pointed back to my individual form.</p>
  
  <p><a href="https://i.sstatic.net/gNzU7.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/gNzU7.png" alt="screenshot of webform"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-12T15:56:18.727Z
Answers.Text: Clever solution, but the usability flaw is that when they start filling out the form and then click the button, all their entered data will be wiped.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-29T21:49:53.757Z
Answers.Text: That is why I have the Org question at the top of the form
Answers.UserDisplayName: Iowa Boy
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-10T00:22:57.443Z
Answers.LastActivityDate: 2019-02-10T00:22:57.443Z
Answers.UserDisplayName: Iowa Boy
Body: <p>Is there any recipe to build a Drupal webform with the possibility to choose to contribute as an individual or as an organization?</p>
  
  <p>I have tried enabling contact 1 as individual, contact 2 as organization and enabling a contribution page.</p>
  
  <p>But if I fill contact 1 data, contribution is recorded successfully. And if I fill contact 2 data no contribution is recorded. Seems that webform contribution is only associated to first contact.</p>
  
  <p>There is some way or some trick to achieve this?</p>
  
Tags: <drupal><civicontribute><webform-civicrm>
Title: How to build a Drupal webform for individual/organization contributors
ThreadText: # How to build a Drupal webform for individual/organization contributors
  
  (Asked by: username_0 on 2017-11-02)
  
  Is there any recipe to build a Drupal webform with the possibility to choose to contribute as an individual or as an organization?
  
  I have tried enabling contact 1 as individual, contact 2 as organization and enabling a contribution page.
  
  But if I fill contact 1 data, contribution is recorded successfully. And if I fill contact 2 data no contribution is recorded. Seems that webform contribution is only associated to first contact.
  
  There is some way or some trick to achieve this?
  
  **Tags:** drupal, civicontribute, webform-civicrm
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-11-03. Score: 4
  
  **Yes:** you can use Webform CiviCRM to make a Contribution of behalf of an Organization -> make Contact 1: the Organization; and make Contact 2: the Individual;
  
  **No:** you can not present this as a choice on the same webform - as the Contribution will be assigned to Contact 1; So: make a screen/page ahead of the webforms - with two nice buttons: "Contribute as Individual" "Contribute as Organization" -> and then link these to two different webforms;
  
  > **Comments:**
  > **username_0**: In the absence of a solution that allows choice between a person and an organization contribution on the same webform I have chosen your suggestion to create two webforms separately.  Anyway, I have an issue not seeing organization submited data on sent contributions receipts for organizations. It seems necessary to embed a profile on the contribution page with organization fields but this isn't possible. See https://civicrm.stackexchange.com/questions/12640/why-cant-i-use-an-organization-profile-type-in-a-contribution-page. Any suggestion to solve it?  
  > **username_1**: How about generate a receipt from the Drupal side?  
  > **username_0**: Yes, it seems the most realistic option while it is not possible to solve it in the other way.  
  > **username_1**: And as a bonus you can make that Email really nice on the Drupal/webform side   
  > **username_1**: What I’ve started doing since is use CiviRules to trigger an Email (using a Message Template) to be sent out -> react on Post Contributiom. Because when you click Submit on the Webform the transaction has not happened yet. I used to create tokens for last contribution id, trxn_id, total_amount, etc but I think these are available in Fuzion’s CiviToken extension now.  
  
  ---
  
  ### Answer by username_2 on 2019-02-10. Score: 1
  
  Instead of 2 links in my menu to two different webforms, I made an image of a Yes Checkbox.[![Checkbox with Yes](https://i.sstatic.net/Bs3FV.png)](https://i.sstatic.net/Bs3FV.png)
  
  At the top of my primary form (individual) I added a Markup component and put in the following code
  
  ```
  <label >This donation is from an organization </label><a href="/donate-org" style="text-decoration:none; color:#444;"><img src="sites/default/files/images/BoxYes.png " alt="Donate from an organizations here" style="width:49px !important;">
  
  ```
  
  This still feels like it is part of the form to donors but it actual is a link to my other form.
  
  On my other form (organization) I did the same thing but pointed back to my individual form.
  
  [![screenshot of webform](https://i.sstatic.net/gNzU7.png)](https://i.sstatic.net/gNzU7.png)
  
  > **Comments:**
  > **username_3**: Clever solution, but the usability flaw is that when they start filling out the form and then click the button, all their entered data will be wiped.  
  > **username_2**: That is why I have the Org question at the top of the form  
  
  ---
  
  