Forms and validation
Short, single-column, forgiving. The enquiry form is the most important page on the site, so it gets the most care.
The flow
- Ask: one column, labels above fields, only what we'll use. Optional fields say so.
- Check: on leaving a field and on submit, never while typing.
- Explain: an error summary at the top and a message under each field, written as an instruction.
- Send: the button says "Sending…" while it works.
- Confirm: replace the form with a success panel that says what happens next and when.
- Recover: if sending fails, keep everything typed and offer the email address as a way round.
Error and success panels
There's a problem with 1 field.
Enter an email address, like name@company.com
Enter an email address, like name@company.com
Thanks, that's landed with us. We reply within one business day.
There's a problem with 1 field.
Enter an email address, like name@company.com
Enter an email address, like name@company.com
Thanks, that's landed with us. We reply within one business day.
Both panels use fixed light surfaces in every theme, like the callout, so they always stand out. Their text is 13.5:1 or better.
When sending fails
"Something went wrong sending that. Please email us directly at hello@mediadreams.co.uk instead." The message names the fallback, and the form keeps what was typed so nothing needs retyping.
Spam
Spam filtering is left to the form service. No puzzles: never make a real person prove they're human to ask for help.