SchoolForms

Form Ticket Counting

How to use forms for counting seats / tickets

Using a radio button or dropdown of options you can limit the number of selections that can be made for a limited resource.

For example school trip, Nativity plays etc

To do this simply add a number in brackets at the end of the option with the terminology that you want to use - either seats,places or tickets

e.g.

10:30 performance (50 seats)

11:30 Show (20 tickets)

12:30 (10 spaces)

When the form is displayed to the user the current number unallocated is displayed. When the user submits the form the number of tickets will be counted down.

If there are no tickets available as the count is zero then the option is disabled and (FULL) is shown.

You can edit the content of the form to update the values if more or less seats / tickets become available and these will be reflected on the form when the parents click on the link.

To allow the user to select the number of tickets they want (default is just 1 ticket) add in another form element to allow them to select the number of tickets:

  • the value will need to be the number

  • the column name must be the same as the above picker but with _count at the end (Performance_count) in the above example