Answers.Body: <p>Unfortunately, this isn't functionality that CiviCRM offers "out of the box".  If you're a coder (or have access to one, or hire one from <a href="https://civicrm.org/providers" rel="nofollow noreferrer">https://civicrm.org/providers</a>) then you can add this functionality pretty easily with <a href="https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_validateForm/" rel="nofollow noreferrer">hook_civicrm_validateForm</a> to create some custom validation rules.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-06T16:32:04.063Z
Answers.LastActivityDate: 2017-09-06T16:32:04.063Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>New to civiCRM so this might be an obvious one but I haven't found he answer as yet</p>
  
  <p>I need to do 2 things with events: </p>
  
  <ul>
  <li><p>cap the number of tickets one given person can buy for an event. For example, set a limit of 2 tickets per transation, even though the event can be attended by 1500 persons. </p></li>
  <li><p>Set a minimum number of tickets to be bought. For example, you can buy group tickets if you're in a group of 10 or more. So the minimum number of tickets must be 10 but it can be 11, 12, 13, etc... </p></li>
  </ul>
  
  <p>Thanks for your help!</p>
  
  <p>Luke</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-06T16:57:26.127Z
Comments.Text: Are you using Drupal? If so, selling your tickets via a Civi-Webform would offer you more flexibility and you could probably get creative with the form rules to provide these constraints.
Comments.UserDisplayName: Coleman
Tags: <civievent>
Title: set minimum or maximum number of tickets a person can buy
ThreadText: # set minimum or maximum number of tickets a person can buy
  
  (Asked by: username_0 on 2017-09-06)
  
  New to civiCRM so this might be an obvious one but I haven't found he answer as yet
  
  I need to do 2 things with events:
  
  * cap the number of tickets one given person can buy for an event. For example, set a limit of 2 tickets per transation, even though the event can be attended by 1500 persons.
  * Set a minimum number of tickets to be bought. For example, you can buy group tickets if you're in a group of 10 or more. So the minimum number of tickets must be 10 but it can be 11, 12, 13, etc...
  
  Thanks for your help!
  
  username_0
  
  **Tags:** civievent
  
  > **Comments:**
  > **username_1**: Are you using Drupal? If so, selling your tickets via a Civi-Webform would offer you more flexibility and you could probably get creative with the form rules to provide these constraints.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-09-06. Score: 4 | Accepted answer
  
  Unfortunately, this isn't functionality that CiviCRM offers "out of the box". If you're a coder (or have access to one, or hire one from <https://civicrm.org/providers>) then you can add this functionality pretty easily with [hook\_civicrm\_validateForm](https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_validateForm/) to create some custom validation rules.
  
  
  ---
  
  