Answers.Body: <p>Definitively a good use case for webform_civicrm! I've drafted an example for you - here's the screenshots:</p>
  
  <ol>
  <li><p>I always use <strong>webform, webform_civicrm, webform_validation</strong> modules</p></li>
  <li><p>In CiviCRM: create Event - <strong>it really needs nothing other than a Type, Role, Title</strong> - (if needed) a limit on the number of participants; mine is a Public Event (not sure that's needed - but 99% of my Events are public so I made that default); Leave everything else blank (Fees, Online registration tabs - not needed). This is what it looks like:</p></li>
  </ol>
  
  <p><a href="https://i.sstatic.net/h4KDm.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/h4KDm.png" alt="enter image description here"></a>
  3. In CiviCRM: make sure you have <strong>a Contribution Page that has a Payment Processor installed that you'd like to use</strong>. It can be a page completely not related to the Fundraising Event. </p>
  
  <ol start="4">
  <li>In Webform: View (see below) - <strong>for Transparency I'm showing a lot of fields here that you could hide if you like</strong>:</li>
  </ol>
  
  <p><a href="https://i.sstatic.net/UhmiU.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/UhmiU.png" alt="enter image description here"></a></p>
  
  <ol start="5">
  <li>If <strong>you toggle to Five Tickets:</strong> (a Table is $40 -> so $8/each Participant):</li>
  </ol>
  
  <p><a href="https://i.sstatic.net/ctvad.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ctvad.png" alt="enter image description here"></a></p>
  
  <ol start="6">
  <li><strong>Conditionals are the key thing</strong> in making this happen:</li>
  </ol>
  
  <p><a href="https://i.sstatic.net/Xhps4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Xhps4.png" alt="enter image description here"></a></p>
  
  <ol start="7">
  <li><p><strong>Here's the checkout for a Table:</strong>
  <a href="https://i.sstatic.net/OQAEV.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/OQAEV.png" alt="enter image description here"></a></p></li>
  <li><p>And <strong>in CiviCRM: 5 Contact Records -> all Contacts registered as Participants</strong> in the Event:</p></li>
  </ol>
  
  <p><a href="https://i.sstatic.net/tSIwm.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/tSIwm.png" alt="enter image description here"></a></p>
  
  <ol start="9">
  <li><p><strong>Things to keep an eye on: Guest Contacts -> duplicate records;</strong> First Name + Last Name + Email address would be good if using unsupervised rule (no logged in user); You can make your own rule and use that for your Guest Contacts too. What duplicate rules work best for you really depends on your specific CiviCRM;</p></li>
  <li><p><strong>I typically add relationships</strong> - easy with webform_civicrm to give all Guests a Relationship to Primary Contact. </p></li>
  <li><p>UPDATE: <strong>adding in conditionals to show the number of Guests fields:</strong>
  This properly toggles the fields from Primary Contact + Guest 1 (in case two tickets is selected) to Primary Contact + Guest 1 + 2 + 3 + 4 (in case five tickets are selected) - I find it easier to go about it with isn't shown.</p></li>
  </ol>
  
  <p><a href="https://i.sstatic.net/mATAa.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/mATAa.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-11T15:54:19.887Z
Answers.Text: Would you do a screenshot of the Civicrm part of the webform especially the Event and Contribution part. So there's not any way to make the guest fields update automatically to the number of tickets chosen?  For instance rather than radio buttons have a drop down for number of tickets and then that many guest fields appear?
Answers.UserDisplayName: frTommy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-11T16:04:39.307Z
Answers.Text: For sure you can do that - you just need more Conditionals to hide the Guest fields that should not be shown depending on what ticket number is set at.
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-11T19:57:26.870Z
Answers.Text: So I added additional conditionals but get an error when saving. I posted the screenshots to the original question.
Answers.UserDisplayName: frTommy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-11T20:57:05.470Z
Answers.Text: Right you can only have one action per webform element; You need to do an OR - if tickets = 1 or tickets = 2 or .... tickets = 7 then Guest8 is not shown
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-22T16:27:37.397Z
Answers.Text: How can I place participants list Side-by-Side like in the picture above please? Thanks
Answers.UserDisplayName: Tapash
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-05-22T16:38:06.103Z
Answers.Text: In D7-> you need webform_layout module; in D8 -> you can use the baked in flexboxes
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-11T15:32:47.877Z
Answers.LastActivityDate: 2017-04-12T00:19:56.663Z
Answers.LastEditDate: 2017-04-12T00:19:56.663Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I'm working on setting up an event there are 2 ticket types:
  individual tickets are $20 each
  Table of 8 is $130</p>
  
  <p>So a person might purchase 1 ticket at 20 or 2 at 40 or a table of 8 for 130. However many tickets they purchase I need to collect the names.</p>
  
  <p>I'm using Drupal 7 and have webform so that's an option. I've never set up an event like this in Civi so struggling a little bit to make it work. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-10T20:17:05.923Z
Comments.Text: That's a good use case for webform_civicrm! Happy to share some examples - do you need just Names or would you like to generate Contact records for them?
Comments.UserDisplayName: KarinG - Semper IT
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-10T20:18:40.927Z
Comments.Text: Please do. I've been trying to set something up with webform civi but surely there's an easier way than what I'm doing.
Comments.UserDisplayName: frTommy
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-10T20:45:40.983Z
Comments.Text: Contact records
Comments.UserDisplayName: frTommy
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-11T15:09:00.977Z
Comments.Text: Ok got a working example for you - posting some screenshots shortly.
Comments.UserDisplayName: KarinG - Semper IT
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-04-12T00:21:00.233Z
Comments.Text: Hi - I've also added what the conditionals would look like to hide/show appropriate number of Guest fields - based on the # tickets that is selected;
Comments.UserDisplayName: KarinG - Semper IT
Tags: <civievent><webform-civicrm>
Title: How to Create webform_civicrm Registrations with: single Ticket vs Table options and Create Contact Records for all Participants
ThreadText: # How to Create webform_civicrm Registrations with: single Ticket vs Table options and Create Contact Records for all Participants
  
  (Asked by: username_0 on 2017-04-10)
  
  I'm working on setting up an event there are 2 ticket types:
  individual tickets are $20 each
  Table of 8 is $130
  
  So a person might purchase 1 ticket at 20 or 2 at 40 or a table of 8 for 130. However many tickets they purchase I need to collect the names.
  
  I'm using Drupal 7 and have webform so that's an option. I've never set up an event like this in Civi so struggling a little bit to make it work.
  
  **Tags:** civievent, webform-civicrm
  
  > **Comments:**
  > **username_1**: That's a good use case for webform_civicrm! Happy to share some examples - do you need just Names or would you like to generate Contact records for them?  
  > **username_0**: Please do. I've been trying to set something up with webform civi but surely there's an easier way than what I'm doing.  
  > **username_0**: Contact records  
  > **username_1**: Ok got a working example for you - posting some screenshots shortly.  
  > **username_1**: Hi - I've also added what the conditionals would look like to hide/show appropriate number of Guest fields - based on the # tickets that is selected;  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-04-11. Score: 4 | Accepted answer
  
  Definitively a good use case for webform\_civicrm! I've drafted an example for you - here's the screenshots:
  
  1. I always use **webform, webform\_civicrm, webform\_validation** modules
  2. In CiviCRM: create Event - **it really needs nothing other than a Type, Role, Title** - (if needed) a limit on the number of participants; mine is a Public Event (not sure that's needed - but 99% of my Events are public so I made that default); Leave everything else blank (Fees, Online registration tabs - not needed). This is what it looks like:
  
  [![enter image description here](https://i.sstatic.net/h4KDm.png)](https://i.sstatic.net/h4KDm.png)
  3. In CiviCRM: make sure you have **a Contribution Page that has a Payment Processor installed that you'd like to use**. It can be a page completely not related to the Fundraising Event.
  
  4. In Webform: View (see below) - **for Transparency I'm showing a lot of fields here that you could hide if you like**:
  
  [![enter image description here](https://i.sstatic.net/UhmiU.png)](https://i.sstatic.net/UhmiU.png)
  
  5. If **you toggle to Five Tickets:** (a Table is $40 -> so $8/each Participant):
  
  [![enter image description here](https://i.sstatic.net/ctvad.png)](https://i.sstatic.net/ctvad.png)
  
  6. **Conditionals are the key thing** in making this happen:
  
  [![enter image description here](https://i.sstatic.net/Xhps4.png)](https://i.sstatic.net/Xhps4.png)
  
  7. **Here's the checkout for a Table:**
     [![enter image description here](https://i.sstatic.net/OQAEV.png)](https://i.sstatic.net/OQAEV.png)
  8. And **in CiviCRM: 5 Contact Records -> all Contacts registered as Participants** in the Event:
  
  [![enter image description here](https://i.sstatic.net/tSIwm.png)](https://i.sstatic.net/tSIwm.png)
  
  9. **Things to keep an eye on: Guest Contacts -> duplicate records;** First Name + Last Name + Email address would be good if using unsupervised rule (no logged in user); You can make your own rule and use that for your Guest Contacts too. What duplicate rules work best for you really depends on your specific CiviCRM;
  10. **I typically add relationships** - easy with webform\_civicrm to give all Guests a Relationship to Primary Contact.
  11. UPDATE: **adding in conditionals to show the number of Guests fields:**
      This properly toggles the fields from Primary Contact + Guest 1 (in case two tickets is selected) to Primary Contact + Guest 1 + 2 + 3 + 4 (in case five tickets are selected) - I find it easier to go about it with isn't shown.
  
  [![enter image description here](https://i.sstatic.net/mATAa.png)](https://i.sstatic.net/mATAa.png)
  
  > **Comments:**
  > **username_0**: Would you do a screenshot of the Civicrm part of the webform especially the Event and Contribution part. So there's not any way to make the guest fields update automatically to the number of tickets chosen?  For instance rather than radio buttons have a drop down for number of tickets and then that many guest fields appear?  
  > **username_1**: For sure you can do that - you just need more Conditionals to hide the Guest fields that should not be shown depending on what ticket number is set at.  
  > **username_0**: So I added additional conditionals but get an error when saving. I posted the screenshots to the original question.  
  > **username_1**: Right you can only have one action per webform element; You need to do an OR - if tickets = 1 or tickets = 2 or .... tickets = 7 then Guest8 is not shown  
  > **username_2**: How can I place participants list Side-by-Side like in the picture above please? Thanks  
  > **username_1**: In D7-> you need webform_layout module; in D8 -> you can use the baked in flexboxes  
  
  ---
  
  