Answers.Body: <p>The extension is available on <a href="https://lab.civicrm.org/extensions/pricesetvisibility/tree/master" rel="nofollow noreferrer">CiviCRM's Gitlab</a>.</p>
  
  <p>It adds a new option that is visible in the administration of the priceset, so that admins can decide when to display a specific priceset field value:</p>
  
  <p><a href="https://i.sstatic.net/Nkkkg.gif" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Nkkkg.gif" alt="Screencast of an example form"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-25T22:04:05.757Z
Answers.LastActivityDate: 2019-11-25T22:04:05.757Z
Answers.UserDisplayName: bgm
Body: <p>We are in the process of building out a contribution form (not webform) with the One-Time and Monthly option buttons at the top of the donation form. </p>
  
  <p>We are trying to figure out the best option to update the Monthly amounts when someone toggles from One-Time to Monthly. </p>
  
  <p>Has anyone done this? If so, what do you recommend?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-13T21:29:31.900Z
Comments.Text: I'm thinking of writing a small extensions that exposes an option on priceset fields "display for: all contribution types / only non-recurring / only recurring", which would then generate a bit of javascript to show/hide the appropriate options.
Comments.UserDisplayName: bgm
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-14T08:29:25.447Z
Comments.Text: With building the form do you mean do it programmatically?
Comments.UserDisplayName: Jaap Jansma - CiviCooP
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-14T14:28:48.587Z
Comments.Text: Yep, well, only the javascript duct-tape to show/hide the appropriate priceset fields depending on whether the user wants to do a recurring or one-time donation.
Comments.UserDisplayName: bgm
Tags: <civicontribute>
Title: Update Donation Amounts for Monthly Recurring option
ThreadText: # Update Donation Amounts for Monthly Recurring option
  
  (Asked by: username_0 on 2019-11-13)
  
  We are in the process of building out a contribution form (not webform) with the One-Time and Monthly option buttons at the top of the donation form.
  
  We are trying to figure out the best option to update the Monthly amounts when someone toggles from One-Time to Monthly.
  
  Has anyone done this? If so, what do you recommend?
  
  **Tags:** civicontribute
  
  > **Comments:**
  > **username_1**: I'm thinking of writing a small extensions that exposes an option on priceset fields "display for: all contribution types / only non-recurring / only recurring", which would then generate a bit of javascript to show/hide the appropriate options.  
  > **username_2**: With building the form do you mean do it programmatically?  
  > **username_1**: Yep, well, only the javascript duct-tape to show/hide the appropriate priceset fields depending on whether the user wants to do a recurring or one-time donation.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-11-25. Score: 4
  
  The extension is available on [CiviCRM's Gitlab](https://lab.civicrm.org/extensions/pricesetvisibility/tree/master).
  
  It adds a new option that is visible in the administration of the priceset, so that admins can decide when to display a specific priceset field value:
  
  [![Screencast of an example form](https://i.sstatic.net/Nkkkg.gif)](https://i.sstatic.net/Nkkkg.gif)
  
  
  ---
  
  