Body: <p>We have a pricing structure where a standard membership is $15/year and membership for an additional member of the household is $10/year.</p>
  
  <p>I'd like to automatically update the "nubmer of additional members in household" field so the price per unit is multiplied by the number of years selected in the "Standard Memberships" field.</p>
  
  <p>For example, if a user selects 1 year standard and 1 household member, the household member would be $10.  2 years standard and 1 household member, that household member would be $20.</p>
  
  <p><a href="https://i.sstatic.net/uBdRC.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/uBdRC.png" alt="Price Set Example"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-22T20:03:30.527Z
Comments.Text: It would also be nice if I could ask for the names of the additional household members, and automatically have contacts created.
Comments.UserDisplayName: Dave
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-22T20:26:32.170Z
Comments.Text: Hi Dave, if you mention your cms you may get some suggestions for workaround using eg Drupal Webform or WP Caldera in case you want to avoid a coding solution - or are you happy with jscript type suggestions?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-22T21:11:52.290Z
Comments.Text: I'm open to any and all options.  This is Wordpress... and I am competent with JavaScript and PHP.  Caldera Forms might be the easy way out though. Still, I'm interested to hear your other solutions.
Comments.UserDisplayName: Dave
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-23T02:37:47.503Z
Comments.Text: So I played with Caldera Forms.  Looks like I can do what I want, but the cost of the Stripe plugin is more than our small club wants to spend.  I've been able to do simple things with jquery/javascript, like change labels and things.  I'm trying to figure out how to add line items, etc.  Any pointers would be appreciated.
Comments.UserDisplayName: Dave
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-23T03:01:39.430Z
Comments.Text: i don't think you would be paying for the stripe plugin - you would use the integration available between caldera and civicrm and use your civi payment processor
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-23T03:37:48.190Z
Comments.Text: Unfortunately, it doesn't work that way: "Note: This processor does not process payment transactions on it's own, it just creates a Contribution in CiviCRM with single or multiple line items. In order to process live payment transaction, a Caldera Forms add-on is needed. Currently this processor intergrates with Caldera Forms' Stripe and Authorize.net add-ons for single/one-off payments."
Comments.UserDisplayName: Dave
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-23T18:11:09.053Z
Comments.Text: thx for correcting me. hopefully a js guru might come along and help figure out how to do this
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-24T21:05:39.407Z
Comments.Text: I've got a "quick and dirty" solution working, based on the "percentage price field" plugin. I changed it to simply add the proper stuff rather than doing its normal job.  Dirty, for sure, but it works.  Eventually I plan to fix it up and then contribute back to the project.
Comments.UserDisplayName: Dave
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-25T02:38:11.270Z
Comments.Text: you may as well add that comment as an Answer and Accept it.
Comments.UserDisplayName: petednz - fuzion
Tags: <price-sets>
Title: Price Set: Update quantity based on selection?
ThreadText: # Price Set: Update quantity based on selection?
  
  (Asked by: username_0 on 2019-01-22)
  
  We have a pricing structure where a standard membership is $15/year and membership for an additional member of the household is $10/year.
  
  I'd like to automatically update the "nubmer of additional members in household" field so the price per unit is multiplied by the number of years selected in the "Standard Memberships" field.
  
  For example, if a user selects 1 year standard and 1 household member, the household member would be $10. 2 years standard and 1 household member, that household member would be $20.
  
  [![Price Set Example](https://i.sstatic.net/uBdRC.png)](https://i.sstatic.net/uBdRC.png)
  
  **Tags:** price-sets
  
  > **Comments:**
  > **username_0**: It would also be nice if I could ask for the names of the additional household members, and automatically have contacts created.  
  > **username_1**: Hi username_0, if you mention your cms you may get some suggestions for workaround using eg Drupal Webform or WP Caldera in case you want to avoid a coding solution - or are you happy with jscript type suggestions?  
  > **username_0**: I'm open to any and all options.  This is Wordpress... and I am competent with JavaScript and PHP.  Caldera Forms might be the easy way out though. Still, I'm interested to hear your other solutions.  
  > **username_0**: So I played with Caldera Forms.  Looks like I can do what I want, but the cost of the Stripe plugin is more than our small club wants to spend.  I've been able to do simple things with jquery/javascript, like change labels and things.  I'm trying to figure out how to add line items, etc.  Any pointers would be appreciated.  
  > **username_1**: i don't think you would be paying for the stripe plugin - you would use the integration available between caldera and civicrm and use your civi payment processor  
  > **username_0**: Unfortunately, it doesn't work that way: "Note: This processor does not process payment transactions on it's own, it just creates a Contribution in CiviCRM with single or multiple line items. In order to process live payment transaction, a Caldera Forms add-on is needed. Currently this processor intergrates with Caldera Forms' Stripe and Authorize.net add-ons for single/one-off payments."  
  > **username_1**: thx for correcting me. hopefully a js guru might come along and help figure out how to do this  
  > **username_0**: I've got a "quick and dirty" solution working, based on the "percentage price field" plugin. I changed it to simply add the proper stuff rather than doing its normal job.  Dirty, for sure, but it works.  Eventually I plan to fix it up and then contribute back to the project.  
  > **username_1**: you may as well add that comment as an Answer and Accept it.  
  
  ---
  
  ## 0 answers
  
  