Preview brand Custom

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

  1. Ask: one column, labels above fields, only what we'll use. Optional fields say so.
  2. Check: on leaving a field and on submit, never while typing.
  3. Explain: an error summary at the top and a message under each field, written as an instruction.
  4. Send: the button says "Sending…" while it works.
  5. Confirm: replace the form with a success panel that says what happens next and when.
  6. Recover: if sending fails, keep everything typed and offer the email address as a way round.

Error and success panels

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.