Choose what the Fergus booking form asks about the customer
Customer Fields decides which details the form collects about the person booking. Each answer goes onto the Fergus customer the booking creates or finds. The same page controls the live lookup on the form and what happens when the customer already exists in Fergus.
Before you start
- The fields work on every plan. The three options under Live customer lookup are Business features. On the Free plan the page says "Customer duplicate validation is part of the Business plan." and the checkboxes are disabled. Your choices are kept and used when you upgrade.
Step by step
- Open your form from Forms. On the Settings tab, open Customer Fields under Form display.
- Under Main contact, switch on each field the form should ask for. Type a Custom Label to change what the customer sees. Leave it blank to use the field name.
- Tick Mandatory field on each one the customer has to fill in. The box only ticks once the field is switched on.
- Under Customer address, switch on any address lines you want.
- Choose the lookup options, described below.
- Click Save.
The defaults are First name (required), Last name, Email address (required) and Phone number (required). Position, Company name, Mobile and every address line start switched off.
First name cannot be switched off or made optional, because Fergus will not create a customer without one. Address line 1 works the same way once any other address line is on: switching on Suburb, for example, switches on and requires Address line 1, and switching Address line 1 off switches the rest off.
An email address that is not a valid address is refused, and the customer sees "Please complete:" followed by the field name.
How it maps to Fergus
| On the form | In Fergus |
|---|---|
| First name, Last name, Position, Company name | The customer's main contact |
| Email address, Phone number, Mobile | The main contact's email, phone and mobile |
| Address lines | The customer's physical address |
| Company name, else First name and Last name | The customer's full name |
A blank answer is left off. An email address Fergus would refuse is dropped, and the booking carries on without it.
Live customer lookup
When the customer leaves the email or phone box, the form checks Fergus for an existing customer and offers to fill in their details. It only offers when exactly one customer matches. At least one of the email and phone fields has to be on, otherwise Enable customer lookup on data entry cannot be ticked.
When the booking is made, Formpiece looks for an existing customer to reuse. It tries the email address first, then the phone number, then the company name. If several customers share an email address, the phone number or company name decides between them. If they still cannot be told apart, a new customer is created.
Two more options sit under the lookup:
- Update details when an existing customer is found. The new details are written onto the customer and added as a contact, and a value left blank never replaces one in Fergus. The person at the site is added to a site that is found, and a site name that was typed is kept. It only works while the customer lookup is on and the next option is off.
- Ignore checks for existing customers. A new customer is created for each booking. Both options are marked "(Subscribers only)".
When it goes wrong
The customer lookup box is greyed out
The form has neither the Email address nor the Phone number field switched on, or the account is on the Free plan. The saved value is dropped on save when neither field is on.
Returning customers are still created twice
- Ignore checks for existing customers is ticked.
- Enable customer lookup on data entry is off. The matching at booking time follows the same switch.
- The customer has no email, phone or company name that matches. Formpiece will not match on a person's name alone, and prefers a second customer to a wrong one.
- Several Fergus customers share the same email and phone number.
The customer in Fergus has the wrong details
If Update details when an existing customer is found is off, a matched customer is left exactly as Fergus has it and only the job and site are new.
FAQ
Can the form ask for the customer's address and the site address separately?
Yes. Customer address here is the customer's physical address in Fergus. The address the visit goes to is asked under Site Fields.