Put the booking form on your website

A booking form is installed on your website with a short piece of embed code, the Formpiece WordPress plugin, or a Wix custom element. Formpiece has no hosted page for the form. Whichever you use, you paste or set it up once. After that, every change you save reaches the page without touching it again.

The Embed tab opens on Embed code. It works on every plan.

Before you start

  • The Embed tab shows once the form has a Simpro company chosen. An archived form has no Embed tab.
  • The form has to be ready to take bookings. Until it has a company, a service and someone to take it, the page says "Finish setting up before you put this on your website" and lists what is left, each with a button to do it, or a note on why it cannot be done yet. See the checklist.
  • You need to be able to edit the page's HTML, install a WordPress plugin, or edit a Wix page.

Step by step

With embed code

  1. Open your form from Forms and click the Embed tab.
  2. Under Embed Code, click Copy code beside Default embed code. If your customers are UK based, copy UK embed code - if your customers are UK based. instead.
  3. Paste it into the page's HTML where the form should appear.
  4. Publish the page and open it to check the form loads.

The code is a <script> line that loads the form and a <div id="FPForm"> that carries your form's ID in data-id. The UK code adds data-region="uk" to the div.

With the WordPress plugin

  1. Under Wordpress Plugin, click Download Wordpress Plugin and install it in WordPress.
  2. Click Copy Form ID beside the form's ID.
  3. In WordPress, open Settings, then Formpiece. Choose Service Booking Form, paste the Form ID, and copy the shortcode the page generates.
  4. Paste the shortcode into the page or post where the form belongs.

The shortcode is [fp_servicebookingform form_id="..."]. The plugin's settings page also has a Preview form button.

With Wix

Under Wix, follow the numbered steps. They need a Wix Premium plan with a connected domain. The form only shows on your published site, and the editor preview says "The Formpiece form could not be loaded." The steps add a Custom Element with a server URL you copy from the page, set the Tag name to formpiece-form, and add two attributes: form-type with the value simpro-booking, and form-id with your form's ID. For UK customers, add region with the value uk.

Copying the code counts as putting it live

Copying the embed code, either version, ticks the Put it on your website step of the checklist. Formpiece cannot see your website, so it only records that you copied it. A form that has taken a booking counts as done either way. Copy Form ID and the Wix copy buttons do not tick it.

Show the code anyway on the held-back screen is for a developer building the page ahead of time. The code then shows with a notice, "This form is not ready. Customers who open it now will not be able to finish a booking.", and links to each step still to do.

Saving publishes

Saving on any page of the form publishes it. There is no separate publish step, and customers see the change the next time they load the page.

When it goes wrong

Nothing appears where I pasted the code

  • The page editor removed the <script> line. The form cannot load without it.
  • A UK account is using the default code. Use the UK embed code.
  • The form ID in data-id is not this form's.

The form loads but offers nothing to book

The form has no services, or no service has anyone to take it. Open the checklist.

The WordPress shortcode shows as text

The plugin is not installed or not active.

Wix says "The Formpiece form could not be loaded."

You are looking at the editor preview. Publish the site and open the live page.