Answers.Body: <p>You can't have a text box to choose membership amount but there are two ways as a workaround</p>
  <ol>
  <li><p>Create a price set with required pricefields</p>
  <p>a) Select or Radio button with Membership as 0 fees</p>
  <p>b) Add text price field with $1 amount.</p>
  </li>
  <li><p>Make membership type fee as 0 and include contribution amount section on contribution page
  <a href="https://i.sstatic.net/c2Y0j.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/c2Y0j.png" alt="enter image description here" /></a></p>
  </li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-26T18:25:19.967Z
Answers.Text: Thank you! That will work well overall but is there an extension to make the membership fee field required if the $0 membership is selected?  Like Drupal Conditional Fields.
Answers.UserDisplayName: Josh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-26T09:58:17.337Z
Answers.LastActivityDate: 2021-05-26T09:58:17.337Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I am trying to set up a membership option where people can pay what they can with a minimum amount set.  For example $60 rather than the standard $180 for a membership. I would have thought this was possible/easy because you can do that with contributions but I do not see a way to assign a membership to the contribution.</p>
  <p>All I need is a text field for people to type in the number just like on contribution price sets.</p>
  <p>Is there an extension that does this? Is there an easy way with code? CiviRules (I looked but I do not see a good way to tell what PriceSet field it came from)?</p>
  <p>Thanks!</p>
  
Tags: <civimember><price-sets>
Title: Sliding Scale Pricing
ThreadText: # Sliding Scale Pricing
  
  (Asked by: username_0 on 2021-05-26)
  
  I am trying to set up a membership option where people can pay what they can with a minimum amount set. For example $60 rather than the standard $180 for a membership. I would have thought this was possible/easy because you can do that with contributions but I do not see a way to assign a membership to the contribution.
  
  All I need is a text field for people to type in the number just like on contribution price sets.
  
  Is there an extension that does this? Is there an easy way with code? CiviRules (I looked but I do not see a good way to tell what PriceSet field it came from)?
  
  Thanks!
  
  **Tags:** civimember, price-sets
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-05-26. Score: 1 | Accepted answer
  
  You can't have a text box to choose membership amount but there are two ways as a workaround
  
  1. Create a price set with required pricefields
  
     a) Select or Radio button with Membership as 0 fees
  
     b) Add text price field with $1 amount.
  2. Make membership type fee as 0 and include contribution amount section on contribution page
     [![enter image description here](https://i.sstatic.net/c2Y0j.png)](https://i.sstatic.net/c2Y0j.png)
  
  > **Comments:**
  > **username_0**: Thank you! That will work well overall but is there an extension to make the membership fee field required if the $0 membership is selected?  Like Drupal Conditional Fields.  
  
  ---
  
  