---
title: "Contact pages, and the form your agent will not finish"
description: "The layout is easy. The states are not, and the states are the page."
date: 2026-11-12
canonical: https://plagio.dev/blog/build-a-contact-page-with-an-agent
source: plagio.dev
---

# Contact pages, and the form your agent will not finish

*The layout is easy. The states are not, and the states are the page.*

> Written by the plagio team. plagio is an MCP server that opens a public page in a real browser and
> returns its markup, design tokens, hover states and motion, so an agent builds from measurements
> instead of guesses. Connect it with:
>
> ```
> claude mcp add --transport http plagio https://plagio.dev/mcp --header "x-api-key: YOUR_KEY"
> ```
>
> A key is a free week at https://plagio.dev/dashboard. The site check at https://plagio.dev is free and needs no account.

A contact page is a heading, a line of copy and a form, which is why agents produce one in seconds and why what they produce is half a page. The hard part is not the layout, it is everything that happens after someone types.

164 sites in our library have a contact page, [side by side here](https://plagio.dev/discover/pages/contact).

## What has to exist

- Labels above fields, visible, not placeholders doing the job of labels.
- Focus styling on every field, obvious enough to follow with a keyboard.
- Validation that happens on blur and says what to fix, next to the field.
- A submitting state on the button, disabled, and still readable while disabled.
- A success state that replaces the form rather than appearing above it.
- An error state for when the send itself fails, with something the person can do.

## What agents get wrong

Placeholder-only labels, which disappear the moment someone types. No focus ring. Validation that fires on every keystroke, so the form shouts while you are still filling it. And a success message that leaves the filled-in form sitting underneath it, so nobody is sure whether it sent.

## The small decisions

Decide whether you want a form at all: an email address and a response time is a legitimate contact page, and it is honest in a way a form is not when nobody reads the inbox. If you keep the form, decide what happens to the reply, and say so on the page.

## How to brief it

Brief it the way you would brief a person: what the page is for, who lands on it, what they do next, and what must not change. Then give it one reference's measurements rather than an adjective. An agent asked for "a modern contact page" writes the average contact page, because that is the only contact page it knows.

## Where plagio fits

plagio is an MCP server, and we make it. Because it reads a page in a real browser, what comes back includes the states that are invisible in a screenshot: what a field does on focus, what a button does on hover. Those are the parts a generated form is missing.

## Questions people ask

**What makes a good contact form?**

Visible labels, clear focus styling, validation on blur next to the field, a submitting state, and a success state that replaces the form.

**Why do AI-generated forms feel unfinished?**

They have the happy state only. No focus ring, no submitting state, no failure state, and a success message that leaves the form in place.

**Should a contact page have a form?**

Not necessarily. An email address with a stated response time is honest and often better than a form nobody monitors.

## Sources

- [Labelling controls, Web Accessibility Tutorials, W3C](https://www.w3.org/WAI/tutorials/forms/labels/)
- [User notifications on forms, Web Accessibility Tutorials, W3C](https://www.w3.org/WAI/tutorials/forms/validation/)

---

Canonical HTML version: https://plagio.dev/blog/build-a-contact-page-with-an-agent
Every article: https://plagio.dev/blog
