How Do I Add a Contact Form to My Website?
How to add a contact form to your website on any platform: what fields to include, where to put it, making sure messages arrive and boosting enquiries.

Short answer: You add a contact form either through your website builder's built-in form block, a plugin if you use WordPress, an embedded form from a service such as a form builder, or a lightweight form handler connected to a static site. Whichever route you choose, the form must submit securely over HTTPS, deliver reliably to an inbox you actually check, ask for as little as possible and have spam protection from day one.
Adding the form is the easy bit. Making sure every enquiry arrives, gets answered fast and doesn't drown in spam is where most small business sites quietly fail. Here's how to do it properly.
How a contact form actually works
A form is just a set of fields in HTML. When the visitor presses Send, their browser packages the field values and posts them to an address (an endpoint). Something at that endpoint has to receive the data, check it, and then do something useful: usually send you an email, sometimes store it in a dashboard or push it to a CRM or spreadsheet.
That "something" is the piece people forget. HTML alone cannot send email. There are four common ways to provide the back end:
| Method | How it works | Good for | Watch out for |
|---|---|---|---|
| Website builder form | Builder handles everything | Wix, Squarespace and similar users | Locked to that platform |
| WordPress plugin | Plugin processes and emails via your server | WordPress sites | Email deliverability, plugin updates, spam |
| Embedded third-party form | Iframe or script from a form service | Quick setup, logic, file uploads | Styling, extra scripts, cookies, monthly limits |
| Form endpoint or serverless function | Your HTML posts to a handler that emails you | Static sites, speed, full design control | Needs a developer to set up |
The deliverability problem nobody mentions
Here's the insider knowledge: the most common contact form failure isn't the form, it's the email. A WordPress site sending mail through the web server's basic mail function often lands in spam or vanishes, because that email isn't properly authenticated for your domain. Gmail and Outlook increasingly reject or junk mail that lacks SPF, DKIM and DMARC alignment.
The fix is to send form notifications through a proper transactional email service or authenticated SMTP connected to your domain, with DNS records set up correctly. If a provider can't explain how your form emails are authenticated, that's a warning sign.
A second subtle trap: setting the "From" address to the visitor's email. It feels natural, but it makes the message look like spoofing to mail servers. The right setup is to send from your own domain (for example [email protected]) and put the visitor's address in the "Reply-To" field, so clicking Reply still goes to them.
Step by step: adding a form the right way
- Decide where enquiries go. One shared inbox you check daily, ideally on your own domain. Read how to get a business email address if you're still on a free address.
- Choose your method from the table above, based on your platform.
- Design the fields (see below). Fewer is better.
- Add spam protection: a honeypot field plus a modern, low-friction challenge if needed.
- Set up authenticated sending and the Reply-To header.
- Write a confirmation message that sets expectations.
- Add a privacy notice linking to your privacy policy.
- Test from a phone and a desktop, using a Gmail and an Outlook address, and check spam folders.
- Set a monthly test reminder. Forms break silently when passwords, DNS or plugins change.
Which fields to include
Every extra field costs you enquiries. Ask only for what you need to reply usefully.
- Name (one field, not first and last).
- Email or phone, or both, but consider making only one required.
- Message, with a helpful placeholder like "Tell us what you need and your postcode".
- Optional: a dropdown for service type, preferred contact time, or photo upload for trades who quote from pictures.
Avoid asking for budget, full address or "how did you hear about us" as required fields at first contact. Collect those later in conversation.
A worked example: a landscaper in Melbourne
An illustrative landscaping business has a form with eleven fields: first name, last name, email, phone, address, suburb, postcode, budget, timeframe, how-did-you-hear and message. Enquiries are thin. Worse, the form sends from the server's default mail function, so an unknown number of enquiries end up in junk, and the owner only notices when a customer phones to ask why nobody replied.
The fix:
- Cut to four fields: name, phone, suburb, "what would you like done?" plus an optional photo upload.
- Route notifications through an authenticated sending service on the business domain, with Reply-To set to the customer.
- Add a honeypot field to block bots silently.
- Show a thank-you message: "Thanks, we've got your message. We reply within one working day, usually sooner. If it's urgent, call 0400 000 000."
- Send an automatic copy to the customer so they know it went through.
The form is now shorter, more trustworthy and, crucially, every enquiry arrives.
Forms that actually reach your inbox.
Every SiteDrum site includes a tested, spam-protected contact form delivered to your email. Pick from our plans and we'll set it up for you.
Where to put the form
- A dedicated contact page, obviously.
- At the bottom of every service page, so people can enquire while they're interested.
- Optionally a short version on the homepage.
- Always alongside a phone number and, for many trades, a WhatsApp button. Some people will never fill in a form.
For more on turning visitors into enquiries, see how to get leads from my website.
Mistakes to avoid
- Never testing after launch. We've seen forms broken for months. Test monthly.
- Sending to an address nobody checks, such as an old employee's mailbox or a forgotten free account.
- Spoofed From headers that send your enquiries straight to spam.
- Too many required fields. Each one loses people.
- No confirmation. Visitors aren't sure the message sent, so they go elsewhere.
- Hard CAPTCHAs. Puzzles that frustrate real customers. Use invisible or low-friction protection first. See how to stop contact form spam.
- Forms on HTTP pages. Browsers flag them as not secure and customers rightly hesitate.
- Slow replies. The best form in the world is wasted if you answer three days later.
What happens after the form is sent
The form is only the start of the journey. Think through the full path an enquiry takes, because this is where good businesses quietly win jobs that slower competitors lose.
- Speed of reply: many customers contact two or three businesses at once. The first helpful reply often wins, regardless of price. Aim to respond within a working hour or two where you can.
- Mobile notifications: make sure enquiry emails reach your phone with notifications switched on, or forward them to a messaging app you check constantly.
- A saved reply template: keep a friendly first response ready, for example: "Hi Sam, thanks for getting in touch about your bathroom. Could you send a couple of photos and your postcode? We can usually quote within 24 hours."
- A simple log: a spreadsheet or CRM with date, name, service and outcome. After a few months you'll know which pages and services generate the best enquiries.
- Analytics goal: track successful form submissions as a conversion so you can see which traffic sources produce real leads, not just visits.
Our take
We think the contact form is the most important few lines of code on a small business website, and it's treated as an afterthought far too often. We'd rather have a four-field form that always works and gets a reply within the hour than a beautiful multi-step wizard that leaks enquiries into spam folders. We build forms on lightweight handlers with authenticated email and spam filtering, then test them ourselves.
When aren't we the answer? If you need complex multi-page forms with conditional logic, payments mid-form, or deep CRM workflows, a dedicated form platform or CRM may suit you better, and we're happy to embed it on your site.
Next steps
- Send a test enquiry from your own site right now, from your phone.
- Check it arrived, how long it took and whether it hit spam.
- Count your required fields and cut any you don't need.
- Confirm the confirmation message tells people when you'll reply.
- Diary a monthly test.
The bottom line
Adding a contact form is quick on any platform; making it reliable takes a little more care. Keep it short, secure and spam-protected, send notifications through properly authenticated email, confirm receipt to the customer, and test it regularly. A form that always delivers, answered quickly, is one of the best-value things on your site.
Frequently asked questions
Can I add a contact form without coding?
Yes. Website builders include form blocks, WordPress has form plugins and many form services give you an embed code to paste in. The bigger challenge is making sure notifications are delivered reliably and spam is filtered, which is worth checking carefully whichever route you choose.
Why am I not receiving emails from my contact form?
The most common reasons are unauthenticated sending that gets junked or rejected, a wrong or unchecked destination address, or a broken plugin or expired setting. Check your spam folder, confirm the destination address and make sure your domain's SPF, DKIM and DMARC records cover the service sending the notifications.
Should I use a contact form or just show my email address?
Offer both if you can, along with a phone number. A form is easier for many visitors on mobile and lets you guide what information they send, while a visible email suits people who prefer their own mail app. Displaying a raw email address does attract more spam.
How many fields should a contact form have?
As few as possible, usually three or four: name, a contact method and a message, perhaps with a service dropdown. Each additional required field tends to reduce completions. Gather extra details later in the conversation.
Is a contact form covered by GDPR?
Yes, because it collects personal data. You should explain in your privacy policy how you use enquiries, submit the form over HTTPS, keep data only as long as needed and not add people to marketing lists without separate consent. This is general information, not legal advice.
Want a website that brings you customers?
Tell us what you do on WhatsApp and we will send a fixed quote and a free mockup.
Get my free mockupRelated guides
Our products
Website design near you
Website design in LondonWebsite design in New YorkWebsite design in TorontoWebsite design in AtlantaWebsite design in ZurichWebsite design in BrisbaneWebsite design in StockholmWebsite design in Los AngelesWebsite design in RotterdamWebsite design in CalgaryAll cities →
SiteDrum home · All guides · Sitemap · Contact us
More tech guides
- What Is Alt Text and How Do I Write It for My Website?
- What Is a Redirect? 301 vs 302 Explained
- What Is Website Caching and How Does It Speed Up My Site?
- Core Web Vitals Explained: LCP, INP and CLS for Business Websites
- Static Sites vs WordPress in 2026: Edge Hosting, Speed and Security
- Modern Website Architecture: URL Structure, Silos and Internal Linking
- Schema Markup and AI Search: Structured Data for Modern Websites
- Modern Responsive Web Design: Mobile First, Fluid Layouts and Container Queries