Skip to main content

Booking form

Each service can have its own booking form. Use it to collect the details needed to manage that specific appointment.

For a simple service, name and email can be enough. For a more complex service, add phone number, address, notes, file uploads, or questions about the service.

Build the form​

In Services, open the Booking form of the service from the menu of its row. In the form builder, select a field type under Add a field to add it at the end of the form, or drag it where it goes. Drag the fields to reorder them, and select a field to edit its properties.

The booking form builder of a service, with Add a field on the left and the form fields, one of them with the Booked for badge

Every field can be:

  • required or optional;
  • hidden, to keep a field without asking it;
  • conditional, with a Conditional rule (see below);
  • included in notification emails through its placeholder.

The Email field is part of every form: TheBooking uses it to identify the customer.

Field types​

FieldUse it for
TextA single-line answer, such as a name or a code.
Long textLonger notes or messages.
CheckboxA consent, or an optional add-on, which can have a price.
NumberA number, with a minimum and a maximum.
DateA date chosen from a calendar.
DropdownOne choice from a list; each choice can have a price.
File uploadAttachments, such as a document to review before the appointment.
ParagraphText that explains something; it asks for nothing.

Conditional fields​

Turn on Conditional rule in the settings of a field to change it depending on another field of the form. In The field is, choose Visible, Hidden, Required, or Not required; in Depending on, choose the other field; in Being, choose the condition:

  • a Checkbox: Checked or Not checked;
  • a Number: Greater than, Less than, or Equal to the value in This number;
  • a Dropdown field: one of its choices.

The other field must be visible.

For example, show a "Company name" field only when the customer checks "Booking for a company".

The person the booking is for​

Sometimes the customer books for someone else: a parent for a child, a company for an employee, a venue for a guest. The customer stays the contact of the reservation: TheBooking sends the emails to them. To also record who the appointment is for, mark one field of the form as that person's name:

  1. Add a Text field to the form, for example "Child's name".
  2. Select the field to open its settings.
  3. Under Visibility, turn on Person the booking is for.
  4. Select Save in the Unsaved changes bar.
The settings of the Participant name field, with Person the booking is for turned on under Visibility

The field shows a Booked for badge in the form builder. The answer to this field then appears:

  • in Reservations, as the main name of the row, with Booked by and the customer's name below it; see Manage reservations;
  • in Availability > Slots, in the reservations of a slot;
  • in the details of the reservation, in the Booked for row;
  • in My bookings, on the customer's booking;
  • in emails, with the [reservation::bookedFor] placeholder. See Notifications.

You can also find the reservation by that name in Search reservations.

Limits:

  • Only a Text field can be marked. The name, email, address, and phone fields of the contact details cannot.
  • Each form has one marked field. When you mark another field, the first one is no longer marked.
  • When the customer leaves the field empty, the reservation shows only the customer.
  • The name comes from the answer, so marking a field also shows the name on the reservations already made with that form. When you correct the answer in Form answers, the new name shows everywhere.

For example, a parent named Olivia Grant books a swimming lesson and writes "Leo" in the marked field. Reservations shows "Leo", with "Booked by Olivia Grant" below it, and the confirmation email goes to Olivia Grant.

A Checkbox and each choice of a Dropdown field can have a Price increment: the amount is added to the price when the customer checks the box or picks the choice.

  • The booking widget shows the amount next to the option, for example +USD 15, and lists it in the review step.
  • The amount counts for every ticket: with two tickets, it is added twice.
  • Campaign promotions discount the price of the tickets, not the paid options.
  • The total that customers pay online includes the paid options. See Service payment settings.

Options of a dropdown​

The Options card in the settings of a Dropdown field lists its choices, each with a label and a price increment. A Radio buttons field, in a form that has one, has the same card. To add a choice, select Add option.

To change the order of the choices, drag an option by its handle, or open the menu of the option and select Move up or Move down. With the keyboard, focus the handle, press Space, move the option with the arrow keys, and press Space again. To remove a choice, select Delete in the same menu: a field keeps at least one option.

The Options card of a Dropdown field, with a drag handle on each option and the menu of an option open on Move up, Move down, and Delete

TheBooking identifies each option by an internal ID, not by its position or its label. Moving, renaming, or deleting an option does not change the answers already given:

  • a past answer keeps the option the customer chose, with the text they saw;
  • the translations of an option follow it when you move it;
  • when you correct an answer in Form answers, the option chosen is still selected, also after you move or rename it.

For example, a "Room" field has the options "Standard" and "Suite". You move "Suite" to the top and rename it "Junior suite". The reservations made before the change still show "Suite", and the new bookings show "Junior suite".

Keep the form focused​

Ask only for information you use. A shorter form is easier for customers to complete and reduces the amount of personal data stored in WordPress.

Good examples:

  • phone number for last-minute contact;
  • address for an on-site visit;
  • notes for accessibility or preparation needs;
  • file upload when the provider must review a document before the appointment.

Customer identity​

Make sure the form captures the customer identity required by your workflow, especially name and email.

Phone fields follow Phone field mode under Settings > Business model:

  • International customers: a phone field with a country selector and international prefixes;
  • Mostly local customers: a simple text field that accepts digits and prefix symbols.

The mode applies to the booking widget, the WordPress admin, and the customer list.

For logged-in customers, fields can start filled with values of their WordPress profile, such as email and name: set the Pre-fill user meta-key of each field, and turn on Pre-fill booking form. See Pre-filled fields.

Translations and notifications​

When translations are enabled, the settings of each field end with a Translations section: translate its label, description, default text, options, or the text of a paragraph there, and save them with the form.

If a field should appear in an email, set its Notification template placeholder in the field settings and insert that placeholder in the template.

The Translations section of the Participant name field, with its label and description translated into Italian

Privacy​

Booking-form answers are part of customer data exports and privacy actions. Avoid collecting sensitive information unless it is necessary for the service.