Answers.Body: <p>This works for me once I add the initial 'wizard page' at the top of the Build elements</p>
  <p><a href="https://i.sstatic.net/wVLa2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/wVLa2.png" alt="enter image description here" /></a></p>
  <p>so on front end i see</p>
  <p><a href="https://i.sstatic.net/PfP83.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/PfP83.png" alt="enter image description here" /></a></p>
  <p>then</p>
  <p><a href="https://i.sstatic.net/mZ7wP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/mZ7wP.png" alt="enter image description here" /></a></p>
  <p>but I did not enable Membership Fee. do you really need that?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-02T17:27:51.013Z
Answers.Text: that works perfectly! Thank you.  I want to use the membership fee because some members may pay an alternative amount.  I will see what I can figure out.  Thanks!
Answers.UserDisplayName: Josh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-02T22:44:16.790Z
Answers.Text: Glad it helped. SE works on basis that you 'accept'the answer, and preferable also +1 it. mostly needed so SE gives the civi channel better ratings for 'questions with an accepted answer
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-07T03:37:18.403Z
Answers.Text: I am still working on this to look/work how I want it to.  Does the select list for the membership need to be outside of the pages?  I get the default membership name if I put the membership selection inside the first page.  Is this how it should be? Thanks!
Answers.UserDisplayName: Josh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-07T03:48:24.157Z
Answers.Text: if it is showing default then i think you have the same problem as https://civicrm.stackexchange.com/questions/39884/no-default-with-webform-civicrm-options-field. my fix (which that user says didn't help them) is ... switch that component to static, then disable the option that was showing as default, then save, then reedit, and switch it back to 'live' not 'static'. any help?
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-07T03:50:21.533Z
Answers.Text: oh lol. that was you too.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-08T04:44:52.673Z
Answers.Text: Ugnfotionatly this problem is a little different then that. I will add another question so I can include a screen shot and if you or someone else can help me others can learn from the issue.  Thank you very much for all your help so far!
Answers.UserDisplayName: Josh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-02T04:35:50.703Z
Answers.LastActivityDate: 2021-07-02T04:35:50.703Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I am trying to build a CiviCRM Webform in Drupal 9.  Everything appears to work well except for the fact that the membership fee for a membership does not add to the total due.</p>
  <p>In this screenshot, a lifetime membership is set to $2500. When I click lifetime for the membership (or any of the other paid options) the total does not go up.</p>
  <p><a href="https://i.sstatic.net/WfmUO.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/WfmUO.png" alt="enter image description here" /></a></p>
  <p>I tried with the <em>Membership Fee</em> option selected in the configuration but even when you type in an amount on the form the total does not change.</p>
  <p><a href="https://i.sstatic.net/am2GA.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/am2GA.png" alt="enter image description here" /></a></p>
  <p>If anyone can help guide me to where to configure this correctly I would appreciate it.</p>
  <p>Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-06-30T20:04:03.800Z
Comments.Text: pls confirm which version of webform and webform_civicrm you are using. there was a time (perhaps still is) where you need to manually add a webform page break which could be your issue
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-06-30T23:03:12.993Z
Comments.Text: I am on Webform module 6.0.3, CiviCRM Webform Integration 8.x-5.0-beta7 and CiviCRM 5.38.0. I looked at the pending patches and none of them looked related.  I will install the dev branch and see if it fixes anything.  Thanks!
Comments.UserDisplayName: Josh
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-06-30T23:22:45.163Z
Comments.Text: @petednz-fuzion, thank you for the feedback, I installed the dev branch and that did not change the behavior.  You are correct that the total is on the same page.  I have looked around the web and I am not seeing a patch that looks like it is for this.  Thanks!
Comments.UserDisplayName: Josh
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-01T03:10:24.433Z
Comments.Text: have you tried manually adding page break?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-01T03:35:36.227Z
Comments.Text: @petednz-fuzion, it does have the page break.  However the total is on the first page and I do not see how to add it tot he second page because it is not a field on the Webform edit page. Thanks!
Comments.UserDisplayName: Josh
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-01T21:46:41.063Z
Comments.Text: if you want to strip your webform down to the minimum (eg Clone, remove extraneous fields), then send to me I will import to a site and take a quick look.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-01T23:16:35.700Z
Comments.Text: @petednz that is very kind of you. Here is a Google doc with the config I am testing. https://docs.google.com/document/d/1-bKB_U5HOJ_UXL98M96r3R-TL89YpyaunOtwvKeB2hg/edit. Thanks!
Comments.UserDisplayName: Josh
Tags: <civicontribute><civimember><webform-civicrm>
Title: Drupal 9 Webform - Adding Membership to Contribution
ThreadText: # Drupal 9 Webform - Adding Membership to Contribution
  
  (Asked by: username_0 on 2021-06-30)
  
  I am trying to build a CiviCRM Webform in Drupal 9. Everything appears to work well except for the fact that the membership fee for a membership does not add to the total due.
  
  In this screenshot, a lifetime membership is set to $2500. When I click lifetime for the membership (or any of the other paid options) the total does not go up.
  
  [![enter image description here](https://i.sstatic.net/WfmUO.png)](https://i.sstatic.net/WfmUO.png)
  
  I tried with the *Membership Fee* option selected in the configuration but even when you type in an amount on the form the total does not change.
  
  [![enter image description here](https://i.sstatic.net/am2GA.png)](https://i.sstatic.net/am2GA.png)
  
  If anyone can help guide me to where to configure this correctly I would appreciate it.
  
  Thanks!
  
  **Tags:** civicontribute, civimember, webform-civicrm
  
  > **Comments:**
  > **username_1**: pls confirm which version of webform and webform_civicrm you are using. there was a time (perhaps still is) where you need to manually add a webform page break which could be your issue  
  > **username_0**: I am on Webform module 6.0.3, CiviCRM Webform Integration 8.x-5.0-beta7 and CiviCRM 5.38.0. I looked at the pending patches and none of them looked related.  I will install the dev branch and see if it fixes anything.  Thanks!  
  > **username_0**: @petednz-fuzion, thank you for the feedback, I installed the dev branch and that did not change the behavior.  You are correct that the total is on the same page.  I have looked around the web and I am not seeing a patch that looks like it is for this.  Thanks!  
  > **username_1**: have you tried manually adding page break?  
  > **username_0**: @petednz-fuzion, it does have the page break.  However the total is on the first page and I do not see how to add it tot he second page because it is not a field on the Webform edit page. Thanks!  
  > **username_1**: if you want to strip your webform down to the minimum (eg Clone, remove extraneous fields), then send to me I will import to a site and take a quick look.  
  > **username_0**: @petednz that is very kind of you. Here is a Google doc with the config I am testing. https://docs.google.com/document/d/1-bKB_U5HOJ_UXL98M96r3R-TL89YpyaunOtwvKeB2hg/edit. Thanks!  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-07-02. Score: 2 | Accepted answer
  
  This works for me once I add the initial 'wizard page' at the top of the Build elements
  
  [![enter image description here](https://i.sstatic.net/wVLa2.png)](https://i.sstatic.net/wVLa2.png)
  
  so on front end i see
  
  [![enter image description here](https://i.sstatic.net/PfP83.png)](https://i.sstatic.net/PfP83.png)
  
  then
  
  [![enter image description here](https://i.sstatic.net/mZ7wP.png)](https://i.sstatic.net/mZ7wP.png)
  
  but I did not enable Membership Fee. do you really need that?
  
  > **Comments:**
  > **username_0**: that works perfectly! Thank you.  I want to use the membership fee because some members may pay an alternative amount.  I will see what I can figure out.  Thanks!  
  > **username_1**: Glad it helped. SE works on basis that you 'accept'the answer, and preferable also +1 it. mostly needed so SE gives the civi channel better ratings for 'questions with an accepted answer  
  > **username_0**: I am still working on this to look/work how I want it to.  Does the select list for the membership need to be outside of the pages?  I get the default membership name if I put the membership selection inside the first page.  Is this how it should be? Thanks!  
  > **username_1**: if it is showing default then i think you have the same problem as https://civicrm.stackexchange.com/questions/39884/no-default-with-webform-civicrm-options-field. my fix (which that user says didn't help them) is ... switch that component to static, then disable the option that was showing as default, then save, then reedit, and switch it back to 'live' not 'static'. any help?  
  > **username_1**: oh lol. that was you too.  
  > **username_0**: Ugnfotionatly this problem is a little different then that. I will add another question so I can include a screen shot and if you or someone else can help me others can learn from the issue.  Thank you very much for all your help so far!  
  
  ---
  
  