Ask for a separate site on your Ascora booking form
Site Fields controls whether the form can book the work at an address other than the customer's own. A standard Ascora job is for the customer at their own street address, so this is off until you switch it on.
Before you start
- Ask for a separate site is off by default. Off, no site questions are asked, and the job is made for the customer at the address from Customer Address Fields. On, the form shows a switch headed Job address is different to the customer address (it says Quote address on a quote form). The customer turns it on only when the work is somewhere else.
- The Site contact questions and the Existing site check are Business features. On the Free plan each shows a plan notice, nothing is asked or checked, and what you set is kept for when you upgrade. Without a subscription, a separate site is made for every booking at another address.
- Everything below the Ask for a separate site switch is greyed out while the switch is off.
What a site is in Ascora
In Ascora a site is a customer of its own, billed to the customer who booked. The job is made for the site, so it shows on the site's record and is invoiced to the customer.
Step by step
- Open your form from Forms. On the Settings tab, open Site Fields under Form display.
- Switch Ask for a separate site on.
- Under Standard fields, switch each field on or off, give it a Custom Label, and tick Mandatory field if an answer is required. Address line 1 is always on and mandatory.
- To ask whether someone else is the contact at the site, tick Ask the customer whether someone else is the contact at the site, then set the fields under Site contact fields. First name is always on and mandatory, because Ascora needs a name to make the contact.
- Choose what the customer sees when they answer yes: the site contact fields empty, or filled in with the customer's details.
- To reuse a site Ascora already holds, tick Use an existing site of the customer when the address matches.
- Click Save. The page says "Site fields updated."
How it maps to Ascora
| Field | Goes to | Starts |
|---|---|---|
| Site name | the site customer's companyName | Off |
| Address line 1 | streetLine1 | On, mandatory, locked |
| Address line 2 | streetLine2 | On |
| Suburb | streetSuburb | On, mandatory |
| State | streetState | On, mandatory |
| Postcode | streetPostcode | On, mandatory |
| Country | streetCountry | Off |
The site is made with POST /Customers/Customer, with the customer as its billingCustomer. With no site name, the site is named after its address. The site gets the form's customer type from Booking Job Type.
The site contact is a contact on the site customer, made with POST /Customers/Contact and set as the job's site contact.
| Site contact field | Goes to | Starts |
|---|---|---|
| First name | contact firstName | On, mandatory, locked |
| Last name | contact lastName | On |
| Email address | contact emailAddress | On |
| Phone number | contact phoneNumber | On |
| Mobile | contact mobileNumber | Off |
A site contact that Ascora refuses does not fail the booking. The job is made without one, and the booking page lists the step as not completed.
Existing site check
Ascora lists the sites of a customer, so the check compares the address with the customer's sites: the first line, and the suburb or postcode. It can only find a site for a customer that already exists, so a new customer always gets a new site. The check is off on the Free plan.
When a customer is found at another address
If Use an existing Ascora customer is on in Customer Fields, a returning customer is found, and Update details when an existing customer is found is off, the address the customer typed is booked as a site of that customer. This happens even when Ask for a separate site is off. A site of theirs at that address is reused if there is one.
When it goes wrong
I do not see the switch on the form
The switch only shows when Ask for a separate site is on. A booking made from an auth link never shows it, because the job's customer and site are already set. See Auth links.
The job is at the customer's address, not the site
The customer did not turn on Job address is different to the customer address. With it off, the site fields are not asked.
A second site was made at the same address
The existing site check is off, the account is on the Free plan, or the address was written differently enough that the first line, suburb and postcode did not agree.
A field I switched on is not on the form
Saving publishes the form. If the page says the form could not be published, the change is saved and the form needs publishing again.