Answers.Body: <p>via Conditionals you should be able to Hide - Large Tent if number of people is less than 4</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-24T04:43:11.537Z
Answers.Text: There might be upward of 16 people being registered. Which complicates things as 4 large tents might be selected. If 1 person has a large tent then I would want make sure 3 other people have also selected large tent - which is possible, with a lot of conditions.
Answers.UserDisplayName: Ben
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-24T22:45:54.630Z
Answers.Text: you could maybe use formula to calculate number of 'tent spaces/beds' and compare that to number of people and if it doesn't match tell them off
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-24T04:22:32.210Z
Answers.LastActivityDate: 2019-05-24T04:22:32.210Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I have created 1 event and using a webform to register people. The user can register multiple people using conditions shows/hides contact fields. I would like to include camping options with conditions. </p>
  
  <p>•   A large tent which has to house 4 people
  •   Single tents</p>
  
  <p>Camping space is limited. If the user selects 7 people to register, I want them to be able to choose either:</p>
  
  <p>1x large tent
  3x single tents
  Or 
  7x single tents</p>
  
  <p>If a user registers 3 people then a large tent is not an option, and so on. </p>
  
  <p>Not sure if this is actually possible. </p>
  
Tags: <civievent><webform-civicrm>
Title: Events registration via webform + strict accommodation options
ThreadText: # Events registration via webform + strict accommodation options
  
  (Asked by: username_0 on 2019-05-24)
  
  I have created 1 event and using a webform to register people. The user can register multiple people using conditions shows/hides contact fields. I would like to include camping options with conditions.
  
  • A large tent which has to house 4 people
  • Single tents
  
  Camping space is limited. If the user selects 7 people to register, I want them to be able to choose either:
  
  1x large tent
  3x single tents
  Or
  7x single tents
  
  If a user registers 3 people then a large tent is not an option, and so on.
  
  Not sure if this is actually possible.
  
  **Tags:** civievent, webform-civicrm
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-05-24. Score: 1
  
  via Conditionals you should be able to Hide - Large Tent if number of people is less than 4
  
  > **Comments:**
  > **username_0**: There might be upward of 16 people being registered. Which complicates things as 4 large tents might be selected. If 1 person has a large tent then I would want make sure 3 other people have also selected large tent - which is possible, with a lot of conditions.  
  > **username_1**: you could maybe use formula to calculate number of 'tent spaces/beds' and compare that to number of people and if it doesn't match tell them off  
  
  ---
  
  