Fergus Booking Forms

Style the Fergus booking form: layout, fonts, colours and wording

6 min read Fergus booking form

The Styles tab has three pages: Layout options, Fonts and colours and Headings and labels. The tab works on every plan. An archived form has no Styles tab, so unarchive it first. Each page has its own Save, and saving writes the published copy straight away. If you move to another page or leave with unsaved edits, the dashboard asks "Unsaved changes" and offers Leave without saving or Stay on the page.

The switch that hides the Formpiece logo is not on this tab. It is Show Formpiece logo on the form's Properties page and needs the Business plan. See Form properties and Plans and features.

Layout options

Control What it does
CSS Class Name A class for your own website's stylesheet. Leave it blank if you are unsure. When it is set, the Fonts and colours page lists a CSS class for each part of the form, built from this name.
CSS Font Family A CSS font-family value, for example your website's font. Starts as sans-serif. Leave off the trailing semicolon.
Sidebar or Bottom Where the booking summary and the confirm button sit. Sidebar puts them on the right and only applies to desktop layouts. Bottom puts them at the end of the form. Sidebar is the default.
Enable single section display Shows one section at a time. Off by default.
Hide inactive form sections or Show inactive form sections Hide shows only the section title while a section is unavailable. Show adds a helper message under it. Hide is the default, and the choice only applies while single section display is off.
Show booking summary or Hide booking summary The summary of what the customer has filled in. Shown by default.

The page warns that the dashboard preview can differ from the form on your website, and recommends you test it there.

Fonts and colours

Import styles from a website reads a website's colours into the colour fields. Enter the full address in Website address, starting https:// or http://, and click Import style. It only fills the colours it is sure of and leaves the rest as they were. Nothing is saved until you click Save. If it fails you see one of "Enter the website's full web address, starting https:// or http://.", "Could not read that website. Check the address and try again." or "No colours could be read from that website."

Each colour has an Edit button that opens a colour picker.

Group Controls
Text Heading colour, Body text colour, Heading font size, Body text font size
Form Fields Field Font Size, Inactive: Field background colour, Inactive: Field border colour, Inactive: Field text colour, Focus: Field background colour, Focus: Field border colour, Focus: Field text colour
Button Button background colour, Button text colour, Hover: Button background colour, Hover: Button text colour, Button font size

Inactive is a field the customer is not in. Focus is the field they have clicked into. The font size boxes take any CSS size, such as 1rem or 16px. The defaults are 1.5rem for headings and 1rem for body text, fields and the button. Your website's own stylesheet can clash with the font sizes or override them, as the page says. A Text Preview, Field Preview and Button Preview show your choices as you make them.

Custom CSS Code is a code box for your own rules. Below it, with a CSS Class Name set, the page lists the classes you can target, such as .MyForm-Heading, grouped by section. Without one it says "Set a form class name on Layout options to style each part of the form by its own CSS class."

The message for a form that is only open from a booking link has the class .MyForm-ExistingOnlyMessage and the fixed class FP-ExistingOnlyMessage. The Still to complete box on the summary has .MyForm-ConfirmationMissing and the fixed class Confirmation-Missing. The fixed names are on the form whether or not a class name is set.

Headings and labels

A box left blank uses the default wording, which is shown in the box as grey text. The page only sends the labels you fill in, and trims spaces around them. Clearing a box and saving puts the default back. These are the labels, with the default each shows.

Section Label Default
Location (when regions are on) Location title Please enter your address
Location caption blank
Location unavailable message Please enter your address.
Categories (when categories are on) Categories unavailable message Please enter your address.
No categories message No categories are available.
Services unavailable message before a category is picked Please select a category.
Services Services title Select Service
Services unavailable message No services are available.
Date and time Date and time title Date and Time
Date and time caption blank
Date and time unavailable message Please select a service.
Contact details Contact title Contact Details
Contact caption blank
Contact unavailable message Please select a date and time.
Site address Address title Location Address
Address caption blank
Address unavailable message Please complete customer details.
Job details Job details title Job Details
Job details caption blank
Job details unavailable message Please complete site details.
Attachments Attachments title Attachments
Attachments caption blank
Attachments unavailable message Please complete booking details.
Summary and confirmation Booking summary title Your Booking
Still to complete heading Still to complete
Confirmation button label Confirm booking

A caption is a line of text under the section title. An unavailable message is what the section says before the customer can fill it in. It only appears when Show inactive form sections is chosen on Layout options.

When it goes wrong

The preview does not match my website

The preview is the dashboard's own. Your website's stylesheet decides the final font and can override the sizes. Test the form on the page it is embedded on.

Save says the form changed or could not be published

Another save reached the form first, or the form saved but its published copy did not update. The page shows the message and reloads the saved form. Save your edits again.