Skip to content
Pithmark
Build a website3 min read

How to build a contact form for a small business website

Choose enquiry fields, route messages to a shared inbox and test that customers can send a message and your team can reply.

By Pithmark

Start with a reply address and a message. Add a field only when it helps your team route or answer the enquiry. Send submissions to a monitored inbox, show a clear confirmation when the form accepts a message, and test a full exchange from submission to reply.

Choose fields your team will use

For general enquiries, ask for an email address and a short message. Add a name if it helps your team reply. Keep a phone number optional unless calling is necessary for the service. A plumber who needs to check coverage can ask for a postcode before asking for a full address.

Give each field a visible label linked to its input. Explain any unusual format next to the field. For a quote request, use a prompt such as ‘What work do you need?’ and tell people which details will help you respond.

Send enquiries to an inbox someone checks

Assign a shared inbox a named person for each working day and a backup for absences. Where your form service supports it, send from an address the provider has verified and set Reply-To to the visitor’s address so the team’s usual Reply action reaches them.

For example, a local electrician can route all quote requests to one shared mailbox. The person on duty checks the postcode and job description, replies from the mailbox and marks the thread as handled. Add routing by service only if different people are responsible for different enquiries.

Help visitors recover and confirm receipt

When a field is invalid, keep their other answers and explain how to fix the error beside that field. If there are several errors, add a summary that links to the fields. When the server accepts a message, confirm what was received and give a response time your team can meet.

If the form cannot accept the message, show a clear retry option and another way to reach the business. Match the wording to what happened. A message accepted by the form can still fail to arrive in the team’s inbox. Test both steps.

  • Send an enquiry from a phone using a test email address you control.
  • Submit with an empty required field and check that entered text is preserved.
  • Find the valid submission in the shared inbox and reply to it. Check that your test address receives the reply.
  • Record who checks the inbox, and repeat the test when the form or mail provider changes.

Common questions

Should a contact form require a phone number?
Require it if the business needs to call to handle the enquiry. Otherwise, an email address is enough for a reply. You can offer an optional phone field for people who prefer a call.
Why does the form say sent when nothing reached the inbox?
The form may have accepted the request while its email notification was delayed, filtered or rejected. Check the form provider’s delivery log and the shared inbox’s junk folder, then resend a labelled test enquiry.

Sources

Researched with official sources and written with AI assistance.