WireSwan Forms

Contact forms for static websites, without a form service

A plain <form> and one attribute. What a visitor sends is emailed to the website’s owner as it arrives and kept in their WireSwan inbox, files included. No backend to write, no keys in the page.

One attribute on a plain form

Write the form the way you always do. Add data-wireswan-form with a name for it, and that is the whole integration.

  • No action URL to point anywhere
  • No keys in the page, no script to add
  • Only the fields written in the form are accepted
  • Your fields, your labels, your styles
contact.html
<form data-wireswan-form="contact"      data-wireswan-name="Messages">  <input name="name" required>  <input type="email" name="email" required>  <textarea name="message" maxlength="3000"></textarea>  <button>Send</button>  <p data-wireswan-success hidden>Thank you!</p></form>

Where the messages go

Every message goes to two places: the owner’s email and their inbox on WireSwan. Nothing to sign up for on their side either.

  • Emailed as it arrives

    From our address, to the owner. Pressing Reply answers the visitor: the first email field in the form becomes the Reply-To.

  • Kept in the owner's inbox

    On the website’s page in their dashboard: reply, mark as contacted, archive, or export everything as CSV.

  • Up to five addresses

    The owner chooses who receives each form, and can change it whenever they like.

  • Kept 12 months

    By default; older messages are removed every night, so nothing is kept longer than it needs to be.

  • A thank-you, if you want one

    An optional “we received your message” to the visitor, on paid websites.

Files: CVs and photos

A job form with a CV, a quote request with a photo. Add a file field and the owner gets the file, kept where only they can open it.

3
files a message
5 MB
each, at most
500 MB
in all, per website

PDF, DOC, DOCX, ODT, JPG and PNG, each checked by its first bytes rather than its name. Stored privately, never attached to an email, downloaded by the owner signed in. Until a website is paid for, its files are kept up to 25 MB.

Robots

Four checks run before a message is kept. They stop the usual bots; no form on the web is untouchable, and a real person never notices them.

A hidden trap

A field people never see. A bot that fills it in is turned away.

Too fast to be a person

A form sent less than a second and a half after the page opened is not taken.

Limits per visitor and per form

Many messages from one address, or to one form, in a short time are held back.

Only from the website

A form is accepted only when it is sent from its own website's addresses.

Works without JavaScript

The form posts normally: the visitor lands on your thank-you page, or on a short one of ours with a link back. With JavaScript on, it is sent in the background and your own messages show in place.

  • data-wireswan-success and data-wireswan-error for the messages
  • data-wireswan-redirect for a thank-you page on the same website
  • is-sending, is-sent and is-error on the form, to style each state
  • A wireswan:sent event when it is through
site.css · site.js
form.is-sending button { opacity: .6; }form.is-sent label { display: none; }form.is-error { outline: 2px solid; } form.addEventListener("wireswan:sent", () => {  // sent: say thank you your way});

Emails a day

Each website has a number of form emails a day. Every person a message goes to is one email.

On a preview3a day, to test
A paid website5a day, included
A bigger plan25 · 50 · 100a day

Past the day’s emails nothing is lost: every message is kept, and the rest arrive at 8:00 the next morning in one summary.

The developer picks the plan at the handover; after that the owner changes it. A change starts with the next monthly payment, and a bigger plan once that payment is in.

When a form service suits you better

If the website is not hosted on WireSwan, a form service such as Formspree, Web3Forms or Netlify Forms is the right tool: WireSwan Forms come with WireSwan hosting and work only on the websites it hosts. If it is, you have one thing less to sign up for, and the owner has one place for the website and its messages.

Questions developers ask

Do I need JavaScript?

No. The form posts like any HTML form: the visitor lands on your thank-you page if you set one, or on a short one of ours with a link back. When JavaScript is on, WireSwan sends it in the background instead, shows your success or error message in place and marks the form with is-sending, is-sent and is-error so you can style each state.

Can visitors attach files?

Yes: up to 3 files of 5 MB each, as PDF, DOC, DOCX, ODT, JPG or PNG. Each file is checked by its first bytes, not by its name, stored privately and never attached to an email. The owner downloads it signed in.

Where are messages kept, and for how long?

In the owner's inbox on WireSwan, on the website's page, where they can reply, mark a message as contacted, archive it or export everything as CSV. Messages are kept for 12 months unless the form says otherwise.

Can the owner change who receives them?

Yes. Each form can email up to five addresses, chosen by the owner and changed whenever they like.

What about consent and privacy?

Add a required checkbox that links to the website's privacy page; the guide has a ready one. Only the fields written in the form are accepted, so nothing else is collected, and files stay private to the owner.

Does it work on a website hosted somewhere else?

No. The forms come with WireSwan hosting: a form is accepted only from its own website's addresses. For a website hosted elsewhere, a form service is the right tool.

Where next

Free to start

Put your first form online

Create your account