Functional description

It is possible to display the participants of the registrations for an event in an email template.
Because there can be multiple registrations for an event AND multiple participants per registration, the output must be shown per registration + participant. This can be done by using the variables below within a so-called 'loop'. We create this loop with the code <!-- BEGIN event_bookings -->, then <!-- BEGIN participants -->, and close with <!-- END participants --> followed by <!-- END event_bookings -->. Between these tags, the variables below can be used.

The variables below are specifically built to display registrations and participants for events.

Variable Description Example
{event_bookings.participants.NAME} Technical name of the participant (type).
Not to be confused with the last name of the participant
Adult
{event_bookings.participants.DESCRIPTION} Description of the participant (type) Adult
{event_bookings.participants.PART_ID} ID 2
{event_bookings.participants.PRESENT} Present Yes
{event_bookings.participants.TEL_MOB} Mobile
{event_bookings.participants.EMAIL} Email
{event_bookings.participants.INITIALS} Initials
{event_bookings.participants.FIRSTNAME} First name
{event_bookings.participants.PREFIX} Prefix
{event_bookings.participants.LASTNAME} Last name
{event_bookings.participants.SEX} Gender
{event_bookings.participants.BIRTHDATE} Date of birth
{event_bookings.participants.MEMBERNUMBER} Membership number
{event_bookings.participants.ID_NUMBER} ID number
{event_bookings.participants.ID_TYPE} ID type
{event_bookings.participants.CUSTOMxx} Custom field (replace the 'xx' with the number of the custom field)

An example table with registration-participants:

<table align="center" border="1" cellpadding="0" cellspacing="1" style="width:100%">
   <tbody>
      <tr>
         <td>Reservation</td>
         <td>Number of spots</td>
         <td>Initials</td>
         <td>First name</td>
         <td>Last name - Participant</td>
         <td>Last name - Contact person</td>
      </tr>
      <!-- BEGIN event_bookings --> 
      <!-- BEGIN participants --> 
      <tr>
         <td>{event_bookings.BOOKING_NUMBER}</td>
         <td>{event_bookings.NUMBER_OF_PLACES}</td>
         <td>{event_bookings.participants.INITIALS}</td>
         <td>{event_bookings.participants.FIRSTNAME}</td>
         <td>{event_bookings.participants.LASTNAME}</td>
         <td>{event_bookings.LASTNAME}</td>
      </tr>
      <!-- END participants --> 
      <!-- END event_bookings --> 
   </tbody>
</table>