On this page11 sections
- Why a form beats an email link
- What a good contact form asks
- A worked example: a garden design business
- Build the contact form in Foxcolab Forms
- Encrypted or Standard?
- Put it on your website
- The visitor's message stays out of your website's reach
- Get notified of new messages
- Keep spam out without a puzzle
- Answer the messages
- Related
In short
To add a contact form to your website, build a short form (name, email, a topic and the message), publish it, and paste its embed code into your contact page. Turn on email notifications so you hear about new messages, and promise a reply time you can keep. With Foxcolab Forms, messages are end-to-end encrypted on the visitor's device, spam checks run invisibly, and nothing needs installing on your server.
Key takeaways
- Ask only what you need to reply. Name, email, topic and message cover most contact forms.
- Tell visitors when you'll reply, and show the same promise on the thank-you screen.
- Foxcolab Forms gives you embed code for an inline, popup, slider or full-page form, plus a plain iframe for sites that block scripts.
- Response emails tell you a message arrived without including it. Read the message in Results, where encrypted answers are unlocked on your device.
- Spam checks run in the visitor's browser and on the server, with no puzzle for real people to solve.
Last reviewed 3 December 2026 by Foxcolab Team
To add a contact form to your website, build a short form that asks for a name, an email address, a topic and the message, publish it, and paste its embed code into your contact page. Then turn on notifications so you hear about new messages, and reply within the time you promised. This guide covers what a good contact form asks, a worked example, and every step in Foxcolab Forms, where each message is end-to-end encrypted on the visitor's device and spam checks run without a puzzle.
Why a form beats an email link#
A plain email link works, but a form gives you more to work with. You choose the questions, so every message arrives with what you need to answer it. A topic menu sends sales questions and support requests to the right person. And the visitor gets a clear confirmation on screen instead of wondering whether their mail app sent anything.
What a good contact form asks#
W3C's forms tutorial puts the rule simply: "Only ask users to enter what is required to complete the transaction or process" (W3C WAI Forms Tutorial). For a contact form, that's usually:
| Field | Required? | Why |
|---|---|---|
| Name | Yes | So you can address the reply |
| Email address | Yes | So you can reply at all |
| Topic | Yes | So the message reaches the right person |
| Message | Yes | The reason they came |
| Phone number | No | Only for people who want a call back. Say so under the field |
| Order or reference number | Only for some topics | Show it only when the topic needs it |
Leave out what you don't need to answer the question: company size, job title, how they heard about you. Each extra field costs you messages, and every answer you store is one more thing to protect.
Two pieces of advice from the GOV.UK Design System's pattern for contact details apply directly (GOV.UK Design System):
- Say when you'll reply. "Tell users when you'll respond to them," it advises. Put the reply time above the form and repeat it on the thank-you screen.
- Say what to have ready. If you'll need an order or reference number, ask for it in the form.
W3C adds the last piece: tell people clearly when they've succeeded and how to fix any errors. A thank-you screen that repeats your reply time does both jobs.
A worked example: a garden design business#
A small garden design business at example.com gets three kinds of messages: requests for quotes, questions about maintenance visits and general questions. Its contact form:
Heading: Contact us
Intro: We reply within two business days, Monday to Friday.
Your name required
Email address required
What is this about? required: Quote for a new garden · Maintenance visit ·
An existing project · Something else
If "Quote for a new garden":
Garden address required
Photos of the garden optional, up to 5 images
If "An existing project":
Project reference optional
Your message required
Thank-you screen:
Thanks, your message is on its way.
We reply within two business days. For urgent visits, call the number below.Most visitors see five fields. People asking for a quote see two more, because only they need them.
Build the contact form in Foxcolab Forms#
Start from the template
Select New form, choose Template and pick Contact form. It has Your name, Email address, an optional Phone number, a What is this about? dropdown, an Order or account number question that appears only for Support, and Your message.
Keep messages encrypted
Under Answers, leave Encrypted selected, then select Create form.
Edit the topics
In the Build tab, select What is this about? and change its options to match your business.
Add conditional questions
Add questions that only some topics need, such as the garden's address or a File upload for photos. In the Logic tab, the rule Ask support requests for their order number shows how it works. Select Add rule to show your new questions for the right topic.
Fix the promise
The template says you reply within one business day. Change that line in the form's description and on the ending screen to a reply time you'll keep.
On the ending screen, the Submit another response button is on, which suits a contact form. For a stand-alone form link, Redirect to a website can send people to a thank-you page on your own site after a few seconds. In an embedded form, it shows as a link instead, so the visitor stays on your page.
Encrypted or Standard?#
| Encrypted (default) | Standard | |
|---|---|---|
| Who can read messages | The form's owner and admins. Foxcolab can't | The owner and admins, and Foxcolab's servers store them readable |
| Response emails | Say a message arrived, without the form's title | Say a message arrived, with the title |
| Webhooks | A ping with the response ID and time | Full answers, for a help desk or CRM |
Contact messages carry more than people expect: phone numbers, addresses, complaints, sometimes health or money details. Keep the form Encrypted unless another tool must receive the full text. Uploaded photos and files stay encrypted in both modes. See Encrypted vs Standard forms.
Put it on your website#
Select Publish and pick the link name. Your form gets an address at forms.foxcolab.com/f/ followed by that name, which you can also link to from emails or social profiles. Then open the Share tab and find Embed on your website:
| Mode | Best for |
|---|---|
| Inline | A dedicated contact page. The form sits in the page and grows with its questions |
| Popup | A "Contact us" button anywhere. The form opens in a window in the middle of the page |
| Slider | A button on every page. The form slides in from the side |
| Full page | A page that is only the form |
Set the Button text for a popup or slider, turn on Hide the form header to leave out the form's logo and cover image, and copy the Embed code. Paste it where your site builder or page template accepts custom HTML. An inline embed looks like this:
<div data-foxforms="example-contact" data-mode="inline" data-height="520"></div>
<script src="https://forms.foxcolab.com/embed.js" async></script>If your site doesn't allow scripts, turn on Use a plain iframe. The form then keeps a fixed height. To stop other sites from embedding your form, open Settings, go to Link preview & search and add your domain under Sites allowed to embed. Subdomains are included.
The visitor's message stays out of your website's reach#
The embedded form runs from forms.foxcolab.com, not from your site. Browsers keep pages from different origins apart: they get very limited access to each other and talk through messages (MDN, Same-origin policy). Your analytics, chat widget and ad scripts can't read what a visitor types. In an Encrypted form, the message is then locked on the visitor's device before it's sent.
Your page still learns that a message was sent, which is all you need for conversion tracking. The embed script fires a foxforms:submitted event carrying only the form's link name:
document.addEventListener('foxforms:submitted', (event) => {
// event.detail.slug is the form's link name. Answers are never included.
console.log('Contact form sent:', event.detail.slug);
// Call your analytics tool's conversion function here.
});Get notified of new messages#
Open Notifications
In the form, open Settings, then Notifications.
Turn them on
Under Email me about responses, switch on Send me response emails.
Pick how often
For each new response sends at most one email a minute and groups messages that arrive together. Daily summary sends one email a day with the count, only when messages arrived.
The emails go to the address on your Foxcolab account and never contain the message itself, so a forwarded or leaked notification gives nothing away. Each teammate chooses their own settings.
To bring in the people who answer messages, open People with access in the Share tab and invite them as Admin. Only the owner and admins can read responses. Editors can change the form without seeing a single message. For an alert in a chat or task tool, an admin can add a webhook under Settings, then Integrations. In an Encrypted form it sends a ping with the response ID and time, which is enough to post "New contact form message." Set up form webhooks covers the setup.
Keep spam out without a puzzle#
Contact forms attract bots. Foxcolab Forms checks every submission without asking real visitors to pick out traffic lights. A small, invisible check runs in the visitor's browser. Submissions that fill in a hidden trap field, or arrive faster than a person could type, are refused. And responses from one place are rate-limited, so a flood of junk can't bury real messages.
Answer the messages#
Open Results and choose Responses. Messages are decrypted on your device as the list loads. Open one to read it, set its review status to New, In review or Done, and add a Private note for the teammate who picks it up next.
Reply by email from your own domain in Foxcolab Mail, which how to get a professional email address walks through. Mail from one Foxcolab user to another is end-to-end encrypted. Most people who write to you through a website are outside Foxcolab, so for a sensitive reply, use Password protection to lock the message.
Going on vacation? Under Settings and Responses, turn off Accepting responses, which takes effect immediately, and write a note under When the form is closed saying when you'll be back.
Related#
- Share a form: link, QR code, embed and prefill
- Create a form and publish it
- Set up form webhooks and verify signatures
- How to create an encrypted online form
Give your visitors a contact form only your team can read. Create a free account and put one on your site in a few minutes, or see plans for your own domain and a team inbox. Handling enquiries across a larger organization? See Foxcolab for enterprise or talk to sales.
Frequently asked questions
Do I need a plugin or my own server to add a contact form?
No. A hosted form runs on the form provider's servers. With Foxcolab Forms you paste two lines of embed code wherever your site accepts custom HTML, or use a plain iframe if it doesn't allow scripts.
How do I know when someone fills in my contact form?
In Foxcolab Forms, open Settings, then Notifications, and turn on Send me response emails. Choose an email for each new response, sent at most once a minute, or a daily summary. Each teammate chooses their own. Admins can also add a webhook to alert a chat or task tool.
How does the contact form stop spam?
Foxcolab Forms runs a small, invisible check in the visitor's browser, rejects submissions that arrive impossibly fast or fill in a hidden trap field, and limits how quickly responses can arrive. Real visitors never solve a puzzle.
Can my website's analytics see what people type into the form?
No. The embedded form runs from forms.foxcolab.com, and browsers keep pages from different origins apart, so your site's scripts can't read inside it. Your page only gets a signal that the form was sent, which you can use for conversion tracking.

Written by
Foxcolab TeamThe Foxcolab team, who build the apps and help people set them up.
More from FoxcolabDid this guide help you get it done?
One click, no account needed.