Direct answer
A good contact form asks only for what you need, labels every field, and keeps the send button enabled until the person sends.

Contact forms: what to know
Each rule is listed with its source at the end of this page, read on November 12, 2026.
- Wrap the fields in a form element, so Enter in the last field sends the form.
- In the message box, Enter adds a new line, and Cmd or Ctrl with Enter sends.
- Let the message box grow with its text instead of scrolling inside the page.
- Keep the send button enabled until the send starts; then disable it, show a spinner and keep its label visible.
- Do not disable the send button on an incomplete form; let the person send and show what is missing.
- Give every field a label, and use a placeholder only for an example value.
- Use type="email" with autocomplete="email", and turn off spellcheck on the email field.
- Show each error next to its field and focus the first error on send.
- Warn before the person leaves the page with an unsent message.
- Keep the field text at 16px or larger on phones.
A contact form, field by field
| Part | Rule | Why it matters |
|---|---|---|
Name | Rule A label and autocomplete="name" | Why it matters The browser can fill it |
Email | Rule type="email", autocomplete and no spellcheck | Why it matters The right keyboard and no false red lines |
Message | Rule Grows with its text; Cmd or Ctrl with Enter sends | Why it matters The whole message stays visible |
Send button | Rule Enabled until the send starts, then a spinner | Why it matters No double send and no hidden reason |
Errors | Rule Next to the field, first one focused | Why it matters The person sees what to fix |
Put Contact forms into practice
- List the fields you truly need and remove the rest.
- Label each field and set its type and autocomplete.
- Let the message box grow with its text.
- Wire the send button to lock and show a spinner only while the send runs.
- Send a test message from a phone and check the confirmation.
Contact forms in four steps
The four steps, in the order you take them.

- Step 1: Choose the fields
- Step 2: Label and type them
- Step 3: Lock send while sending
- Step 4: Confirm the message
Caveats to keep in mind
- A send button that stays enabled during the send invites a second message.
- A message box with its own scrollbar hides what the person wrote.
- A placeholder used as a label disappears as soon as the person types.
- Leaving the page without a warning loses a long unsent message.
Steal this workflow
Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.
Read the guide "Contact form design: short, labelled and clear about what happens on send" at https://better-design.com/blog/contact-form and help me apply it to my project.
A good contact form asks only for what you need, labels every field, and keeps the send button enabled until the person sends.
Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.
Questions
What fields should a contact form have?
Only the ones you need to reply, usually a name, an email and a message. Each extra field is one more reason not to send.
Should the send button be disabled until the form is complete?
No. Keep it enabled, let the person send, and show what is missing next to the field. Disable it only while the send runs.
Can a coding agent apply these form rules?
Yes. Put these rules in the agent's instructions before it builds, then ask it to check the rendered screen against each one.
Where these rules come from
Each fact comes from Better Design's form guidance, the same guidance its MCP server gives coding agents, read on November 12, 2026.
Related
Build the interface in your own code instead
A coding agent such as Claude Code, Cursor or Codex can build these screens in your own code. Better Design gives that agent a design system, interface principles and review rules, so the result follows rules like these and looks designed.