Illum et quibusdam enim proin occaecat pulvinar mi! Cum incidunt esse quis.

Home / Guests

Contribution Form (Itemized): Optional Fields

A basic PAC contribution form where each amount represents a number of tickets (the ID of the amount input is that number). When an amount is selected, the proper number of guest fields will be made visible on the payment screen.

Four parameters are required:

  • no_edit_amounts to require the user to go back to the first screen to edit amounts, where some of the the basic calculation work is done
  • show_guest_info_fields => 1 to render the the guest fields
  • amounts_are_tickets => 1 to trigger the logic to show/hide the guest fields based on the amount selected
  • optional_guest_fields, a comma-separated list of field names to specify which guest fields should not be required. Format the name minus the guest number part, e.g. for guest_x_name, use name

Tickets

$