Answers.Body: <p>The whole approach to 'using Contribution pages' was done away with in recent webform_civicrm and the whole configuration is now available within the webform_civicrm configuration.</p>
  <p>Unfortunately it doesn't look like the documentation at</p>
  <ul>
  <li><a href="https://docs.civicrm.org/webform-civicrm/en/latest/examples/contributionwebform/" rel="nofollow noreferrer">https://docs.civicrm.org/webform-civicrm/en/latest/examples/contributionwebform/</a></li>
  <li><a href="https://docs.civicrm.org/webform-civicrm/en/latest/configure-elements/elements-contribution/" rel="nofollow noreferrer">https://docs.civicrm.org/webform-civicrm/en/latest/configure-elements/elements-contribution/</a></li>
  </ul>
  <p>have been updated yet.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-30T20:03:17.063Z
Answers.Text: Thank you for this. That makes sense. We found the documentation and it looked like it should work in the old way. I guess if we want to set fixed contribution amounts we do that by editing the Contribution Amount form field variables.
Answers.UserDisplayName: cjar-290
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-31T03:25:39.380Z
Answers.Text: Yep you do all that on the webform component
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-30T18:56:25.753Z
Answers.LastActivityDate: 2022-03-30T18:56:25.753Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I am fairly new to CiviCRM. We are quite a long way down the road upgrading a D7 site to D9 whilst also restoring a CiviCRM database and upgrading from 5.10.2 to 5.47.1.</p>
  <p>In the older D7 site we are able to link to a specific contribution page from within Webforms.</p>
  <p><a href="https://i.sstatic.net/y5ZVj.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/y5ZVj.png" alt="enter image description here" /></a></p>
  <p>But within D9 we only have the option to answer yes / no to this same option.</p>
  <p><a href="https://i.sstatic.net/bsCbn.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/bsCbn.png" alt="enter image description here" /></a></p>
  <p>Any guidance on how to link Webforms to contribution pages in D9/CiviCRM would be gratefully received.</p>
  
Tags: <civicontribute><drupal-9>
Title: Drupal 9 linking CiviCRM Contribution pages to Webforms
ThreadText: # Drupal 9 linking CiviCRM Contribution pages to Webforms
  
  (Asked by: username_0 on 2022-03-30)
  
  I am fairly new to CiviCRM. We are quite a long way down the road upgrading a D7 site to D9 whilst also restoring a CiviCRM database and upgrading from 5.10.2 to 5.47.1.
  
  In the older D7 site we are able to link to a specific contribution page from within Webforms.
  
  [![enter image description here](https://i.sstatic.net/y5ZVj.png)](https://i.sstatic.net/y5ZVj.png)
  
  But within D9 we only have the option to answer yes / no to this same option.
  
  [![enter image description here](https://i.sstatic.net/bsCbn.png)](https://i.sstatic.net/bsCbn.png)
  
  Any guidance on how to link Webforms to contribution pages in D9/CiviCRM would be gratefully received.
  
  **Tags:** civicontribute, drupal-9
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-03-30. Score: 1
  
  The whole approach to 'using Contribution pages' was done away with in recent webform\_civicrm and the whole configuration is now available within the webform\_civicrm configuration.
  
  Unfortunately it doesn't look like the documentation at
  
  * <https://docs.civicrm.org/webform-civicrm/en/latest/examples/contributionwebform/>
  * <https://docs.civicrm.org/webform-civicrm/en/latest/configure-elements/elements-contribution/>
  
  have been updated yet.
  
  > **Comments:**
  > **username_0**: Thank you for this. That makes sense. We found the documentation and it looked like it should work in the old way. I guess if we want to set fixed contribution amounts we do that by editing the Contribution Amount form field variables.  
  > **username_1**: Yep you do all that on the webform component  
  
  ---
  
  