Answers.Body: <p>Instead of have 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="enter image description here"></a></p>
  
  <p>At the top of my form 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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-10T00:16:45.950Z
Answers.LastActivityDate: 2019-02-10T00:16:45.950Z
Answers.UserDisplayName: Iowa Boy
Body: <p>Drupal 7.63
  Civi 5.4.1</p>
  
  <p>We currently use a Civi Contribution Page for our donation form. However, I am looking at changing to using the Webform CiviCRM Integration module. However, our current Civi Page allows an organization donation using "On Behalf of".</p>
  
  <p>But I do not see on behalf of in the webform options. But I can set the form to allow for Individual or Org contact type.</p>
  
  <p>Any ideas how to do "On behalf of" or a simple way to have first option be Individual or Org and then display the proper Contact Form?</p>
  
  <p>I have played with the <a href="https://www.drupal.org/project/webform_node_element" rel="nofollow noreferrer">Webform Node Element</a> module (allows you to add a node as a webform component). But in order to use conditionals with it, you have to put the nodes (webform for individual and webform for orgs) into seperate fieldsets and show based on selection of Ind or Org question. Then because you have a full form within another form you have 2 Submit buttons. I can hide one with CSS but then I run into multi-page issues which seems to be required to process contributions. </p>
  
  <p>I have also looked at the component keys for the Civi Contact components when set for Individual vs Org. I thought maybe they used a different key depending on if the form contact was individual or org. But that does not seem to be the case.</p>
  
  <p>Any ideas out there of how to handle this?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-07T00:24:20.187Z
Comments.Text: See this related question [How to build a Drupal webform for individual/organization contributors](https://civicrm.stackexchange.com/questions/21173/how-to-build-a-drupal-webform-for-individual-organization-contributors)
Comments.UserDisplayName: Francesc Bassas i Bullich
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-07T02:34:06.043Z
Comments.Text: Opps, I looked before I posted my question but I did not find that one. Thanks
Comments.UserDisplayName: Iowa Boy
Tags: <webform-civicrm>
Title: Using Webform CiviCRM for a contribution form and allow "on behalf of an organization"?
ThreadText: # Using Webform CiviCRM for a contribution form and allow "on behalf of an organization"?
  
  (Asked by: username_0 on 2019-02-06)
  
  Drupal 7.63
  Civi 5.4.1
  
  We currently use a Civi Contribution Page for our donation form. However, I am looking at changing to using the Webform CiviCRM Integration module. However, our current Civi Page allows an organization donation using "On Behalf of".
  
  But I do not see on behalf of in the webform options. But I can set the form to allow for Individual or Org contact type.
  
  Any ideas how to do "On behalf of" or a simple way to have first option be Individual or Org and then display the proper Contact Form?
  
  I have played with the [Webform Node Element](https://www.drupal.org/project/webform_node_element) module (allows you to add a node as a webform component). But in order to use conditionals with it, you have to put the nodes (webform for individual and webform for orgs) into seperate fieldsets and show based on selection of Ind or Org question. Then because you have a full form within another form you have 2 Submit buttons. I can hide one with CSS but then I run into multi-page issues which seems to be required to process contributions.
  
  I have also looked at the component keys for the Civi Contact components when set for Individual vs Org. I thought maybe they used a different key depending on if the form contact was individual or org. But that does not seem to be the case.
  
  Any ideas out there of how to handle this?
  
  **Tags:** webform-civicrm
  
  > **Comments:**
  > **username_1**: See this related question [How to build a Drupal webform for individual/organization contributors](https://civicrm.stackexchange.com/questions/21173/how-to-build-a-drupal-webform-for-individual-organization-contributors)  
  > **username_0**: Opps, I looked before I posted my question but I did not find that one. Thanks  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-02-10. Score: 1 | Accepted answer
  
  Instead of have 2 links in my menu to two different webforms, I made an image of a Yes Checkbox.
  At the top of my form I added a Markup component and put in the following code
  This donation is from an organization 
  
  
  This still feels like it is part of the form to donors but it actual is a link to my other form.
  
  
  ---
  
  