Answers.Body: <p>Ah - I strongly suspect this is a 'rule'/'validation' (either in the javascript or the form layer) - to ensure people donate extra as opposed to giving themselves a discount. </p>
  
  <p>The workaround is obvious: create an Arbitrary Amount similar to how you created the Discount Amount - or do you need it to be this type of field?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-07T00:50:28.270Z
Answers.Text: That's genius, KarinG. The solution you point to as I understand your thinking is to make a normal Text/Numeric field as we have done for the 'Discount amount' above. Enter a value of -1, no display. Then when we enter multiples of the unit in there, they are multiples of -1, thus giving us an arbitrary discount field. Obviously this is only possible if restricted to Admin permissions. I've tested this and it works perfectly. Thanks again!
Answers.UserDisplayName: Andyg8
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-07T01:39:47.667Z
Answers.Text: Excellent - great to hear!
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T13:13:45.780Z
Answers.LastActivityDate: 2016-06-06T13:22:57.303Z
Answers.LastEditDate: 2016-06-06T13:22:57.303Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>Price sets give you the tremendously useful ability to add a price field in which a user can enter an arbitrary amount. This is done by choosing an Text/Numeric field type, setting its value to '1' and NOT ticking 'Display amount'.</p>
  
  <p>However, we want to use this to create an arbitrary-sized discount for admin users, and Civi doesn't seem to allow negative numbers in this field. </p>
  
  <p><a href="https://i.sstatic.net/EKQzx.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EKQzx.png" alt="enter image description here"></a>
  As you can see from the attached screen shot, the negative entry in our 'arbitrary amount' field has been ignored. </p>
  
  <p>It's perfectly possible to make discounts of fixed amounts in a price set - the screen shot shows that our fixed discount has been included in the price calculation.</p>
  
  <p>What would need to happen so that this 'arbitary amount' field can accept negative amounts?</p>
  
  <p>Thanks for your help!</p>
  
  <p>Drupal 7.43, Civi 4.6.17</p>
  
Tags: <civievent><price-sets>
Title: Price set contribution field won't accept negative amounts?
ThreadText: # Price set contribution field won't accept negative amounts?
  
  (Asked by: username_0 on 2016-06-06)
  
  Price sets give you the tremendously useful ability to add a price field in which a user can enter an arbitrary amount. This is done by choosing an Text/Numeric field type, setting its value to '1' and NOT ticking 'Display amount'.
  
  However, we want to use this to create an arbitrary-sized discount for admin users, and Civi doesn't seem to allow negative numbers in this field.
  
  [![enter image description here](https://i.sstatic.net/EKQzx.png)](https://i.sstatic.net/EKQzx.png)
  As you can see from the attached screen shot, the negative entry in our 'arbitrary amount' field has been ignored.
  
  It's perfectly possible to make discounts of fixed amounts in a price set - the screen shot shows that our fixed discount has been included in the price calculation.
  
  What would need to happen so that this 'arbitary amount' field can accept negative amounts?
  
  Thanks for your help!
  
  Drupal 7.43, Civi 4.6.17
  
  **Tags:** civievent, price-sets
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-06-06. Score: 1 | Accepted answer
  
  Ah - I strongly suspect this is a 'rule'/'validation' (either in the javascript or the form layer) - to ensure people donate extra as opposed to giving themselves a discount.
  
  The workaround is obvious: create an Arbitrary Amount similar to how you created the Discount Amount - or do you need it to be this type of field?
  
  > **Comments:**
  > **username_0**: That's genius, KarinG. The solution you point to as I understand your thinking is to make a normal Text/Numeric field as we have done for the 'Discount amount' above. Enter a value of -1, no display. Then when we enter multiples of the unit in there, they are multiples of -1, thus giving us an arbitrary discount field. Obviously this is only possible if restricted to Admin permissions. I've tested this and it works perfectly. Thanks again!  
  > **username_1**: Excellent - great to hear!  
  
  ---
  
  