# Design a contact form

To request a quote, the visitor often has to fill in a form. With every unnecessary question or poorly explained error, they may give up even though they had decided to contact you.

**A visitor is more likely to send a form on the first try when it’s limited to useful questions and laid out in one column.** Each field has its label above it and the word “required” or “optional.” If there’s an error, the website tells the visitor what to fix and keeps what they typed.

## Key takeaways

- In an experiment published in 2014 and carried out in Basel, Switzerland, 65 people filled in the forms of three newspapers. They sent 42% of the originals on the first try and 78% of the versions revised according to twenty usability guidelines1.
- In the Baymard Institute’s e-commerce tests, 32% of participants missed at least one required field when only the optional fields were marked2.
- Of 1,026 online shoppers surveyed by Baymard, whose country isn’t published, 14% would refuse to give a store their phone number3.
- The GDPR, the European data protection regulation, allows a quote request to be handled without consent4. In the sample form published in 2022 by the CNIL, France’s data protection authority, for a locksmith, the only checkbox lets visitors opt out of marketing5.

## Terms to know before you start

| Term | Meaning |
| --- | --- |
| Field | An area where the visitor types or chooses an answer: their name, their email, their message |
| Label | The text above a field that says what to put in it, such as “Your email” |
| Placeholder text | A sample written in gray inside the field. It disappears as soon as the visitor starts typing |
| Required field | A field that must be filled in before the form can be sent. An optional field can be left empty |
| Validation | The website’s check of an answer, such as the presence of an @ in an email address |
| Error message | A message shown near the field concerned to explain the error and the expected fix |
| Confirmation message | The text shown after sending to say that the request has been sent |

## Keep only the fields you need to reply

On their blogs, form software vendors claim that every field removed increases the number of submissions, without citing a published study. We know of **no verifiable public figure linking the number of fields in a contact form to the share of visitors who send it**. So only a measurement on your own website can tell you how many fields suit you.

In an experiment published in 2014, however, researchers from the University of Basel and Google measured the effect of a better-designed form. They revised the sign-up forms of three German-language newspapers, Der Spiegel, the NZZ and the Süddeutsche Zeitung, according to twenty usability guidelines.

The 65 participants sent 42% of the original forms and 78% of the revised forms on the first try. The revised forms were also filled in 18 to 33% faster1.

*Revised forms are more often sent on the first try*

*Show the data*

| Version | Sent on the first try |
| --- | --- |
| Original forms | 42 % |
| Revised forms | 78 % |

The twenty fixes were tested together. The study can’t tell which one helped participants most.

The Baymard Institute is a research firm that tests e-commerce checkout flows. According to its observations, how easy an order is depends far more on the number of fields to fill in than on the number of steps6.

The General Data Protection Regulation (GDPR) requires a form to collect only the data needed for its purpose4. **For each field, check that you need the answer to handle the request.** Remove the fields that fail this test, because each one adds a question the visitor has to read.

During your first exchange, you can ask for the full address or how the visitor heard about you. But you’ll never need their title (Mr., Ms.) to reply.

![Des ciseaux coupent le bas d'un long formulaire, dont les champs découpés tombent à côté.](https://static.lovelyrender.com/uploads/2026/11/4778-ressource-concevoir-un-formulaire-de-contact-champs.png)

## Put the fields in one column with a label above each

The Baymard Institute found that visitors skip fields when a form is laid out in several columns. The firm accepts two or three fields on the same line when they belong together, such as the ZIP code and the city7. **So put the fields one below the other, in the order the visitor expects to fill them in.**

Give each field a visible label above it. Placeholder text doesn’t replace it, because it disappears as soon as the visitor starts typing8. A visitor who hesitates while typing then no longer sees the question.

The RGAA, the French method for checking a website’s accessibility, also requires a label for each field9. A screen reader (the software that turns a page’s text into speech for blind people) reads this label aloud when the person moves into the field.

Example of an Email field, with placeholder text only and with a label

Placeholder text only — Before typing — Email — While typing — marie.dur — While typing, the visitor no longer sees the question.

A label above the field — Before typing — Your email — While typing — Your email — marie.dur — The visitor sees the label the whole time they type.

## Mark both required and optional fields

Many forms flag required fields with an asterisk or mark optional fields, never both. The Baymard Institute measured the effect of this choice on American and European e-commerce websites. **When only the optional fields were marked, 32% of participants left at least one required field empty.**

The firm advises marking both, with “required” next to some and “optional” next to the others2.

Baymard also surveyed 1,026 online shoppers without publishing their country. Of these, 14% said they would never give a store their phone number3. **So make the phone number optional or write under the field why you’re asking for it**, such as “to set the date of the visit.”

## Write precise error messages

Faced with a generic message like “Invalid field,” the visitor has to guess what’s expected of them. Yet in 2023, 98% of the major e-commerce websites assessed by the Baymard Institute showed this kind of message10. **For each field, write a message that tells the visitor what to fix**, for example “Your email address is missing the @” rather than “Invalid email.”

Example of a rejected email address, with two error messages

A generic message — Your email — marie.durand.fr — Invalid email — The visitor has to guess their mistake.

A precise message — Your email — marie.durand.fr — Your email address is missing the @ — The visitor knows what to fix, without retyping their address.

The same firm recommends checking a field when the visitor leaves it11. An error message shown from the first letter interrupts typing. If it only appears after sending, the visitor has to go back to the faulty field to fix it.

When the website rejects a submission, it must never erase what the visitor typed: someone who has to rewrite a long message because of a mistyped address may give up.

On a Lovely Render site

The server checks each field on submission. It even checks that an email address’s domain exists. The error message appears next to the field concerned. The page doesn’t reload and the information entered is kept. Before sending, the browser’s tooltip flags a required field left empty. Forms are protected from spam without a CAPTCHA (the test where the visitor copies letters or clicks on images). On the Forms screen, you see the “Conversion rate” and the “Time to fill in” of each form. Half of visitors fill in and send the form in less time than the duration shown.

## Confirm the submission and skip the “I agree” box

After sending, a confirmation message tells the visitor that their request has been sent. Add your response time so they know when to expect it, for example “Thank you, we’ll reply within 48 hours.”

Many contact forms end with a checkbox saying “I agree to my data being used.” For a quote request, this box is unnecessary: the GDPR allows the visitor’s data to be processed to carry out pre-contractual steps taken at their request, such as a quote4.

In the sample quote form published by the CNIL for a locksmith, the only checkbox lets the visitor opt out of marketing5. The CNIL doesn’t make it a rule, but its example confirms that **a simple contact form can do without a mandatory “I agree” box**.

A sentence under the form is enough to tell the visitor how their data will be used and how long it will be kept, with a link to your privacy policy5.

Watch out

Add a consent checkbox only for a use that goes beyond replying, such as signing the visitor up for a newsletter. In that case, leave this box optional and unchecked: the GDPR rules out any consent given through a pre-checked box4.

## Example: a landscaper in Angers, France

This imaginary landscaper designs and maintains gardens around Angers. His quote form exists in two versions on our test website, before and after the fixes.

### The landscaper goes from eleven fields to five

The landscaper’s “Request a quote” form has eleven required fields spread over two columns. The visitor has to give their title, first name, last name, address in three fields, phone number and email. They also give the garden’s area, their budget and their message, before checking the “I agree to my data being used” box.

![The Angers landscaper's quote form before the fixes, on a computer: eleven fields in two columns, their names written in gray inside them, and a required "I agree" checkbox.](https://static.lovelyrender.com/uploads/2026/11/8463-concevoir-un-formulaire-de-contact-devis-avant-en.png)

For each field, the landscaper asks himself whether he needs it to reply, and starts by removing the title, which is useless for a quote. He replaces the address, ZIP code and city with the garden’s town: that’s enough to know whether he works there.

Since his customers rarely know the area of their garden, he measures it on site anyway. He also prefers to talk money during his visit, so he removes the area and budget fields. He then combines the first and last name into a single field.

He keeps only five fields: “Your name,” “Your email,” “Garden’s town,” “Your project” and “Phone.” He marks the first four as required and the phone as optional, with the note “to schedule the visit sooner” under that field. Instead of the “I agree” box, he writes an information sentence under the form.

### The landscaper rewrites his labels and error messages

The landscaper puts the five fields in one column, each with its label above it. Under the “Your project” label, he adds a help sentence that is always visible: “For example, build a 20 m² wooden deck and plant a hedge.”

He then writes a precise message for each field: under the town, “Required field” becomes “Enter the garden’s town so we can check that it’s in our area.”

The landscaper’s form after the fixes: a message says the town must be filled in

Request a quote

Your name — required — Claire Martin

Your email — required — claire.martin@example.com

Garden’s town — required — Enter the garden’s town so we can check that it’s in our area

Your project — required — For example, build a 20 m² wooden deck and plant a hedge. — A deck at the back of the garden and a hedge along the street.

Phone — optional — To schedule the visit sooner — 06 39 98 12 34

Send my request

We use this information to reply to your request and keep it for three years after our last exchange.

Privacy policy

### The landscaper submits the form from his phone

The landscaper fills in his form on his phone, deliberately making a mistake in each field. The website rejects the address without an @ and keeps the rest of what he typed. Once his mistakes are fixed, he reads the message “Thank you, we’ll reply within 48 hours” and receives the request in his inbox.

## Review your form in five steps

Allow half an hour for these five steps and do the last one on your phone.

1. List the fields on your form and cross out those you don’t need to handle the request. Move on to the next step when you can justify each remaining field in one sentence.
2. Put the fields in one column and give each one a visible label above it. This step is done when you can see each field’s label while typing.
3. Mark each field as required or optional, spelled out in full. If you keep the phone number, add the reason you ask for it under the field. You can continue when one of the two words appears next to every field.
4. For each field, write an error message that explains how to fix the entry. The step is finished when no message is just “Invalid field” or “Required field.”
5. Send the form from your phone with a mistake in each field, then send it correctly. You’re done when each mistake shows its message and the corrected request reaches your inbox, without your having to retype anything.

## You’re done when…

Every piece of information the form asks for is needed for your reply. After a failed submission, the visitor knows what to fix and finds what they typed still there. A successful submission ends with a confirmation message.

## If it doesn’t work

If the test request doesn’t arrive, look for it in your spam folder before checking the receiving address set in your website builder.

Some tools let you neither write your own error messages nor place a label above the fields. If yours is one of them, note these two gaps: you’ll check them first if you ever switch tools.

## Measure your form’s submission rate

Compare the share of visitors who send the form over two periods of the same length, before and after your fixes. How this rate changes will help you assess their effect.

Before reaching the form, the visitor often has to accept or refuse cookies in the banner shown when they arrive.

Previous chapter: [Build trust on your website](https://lovelyrender.com/resources/website-trust-signals/)

Next chapter: [Design a cookie banner that doesn’t trick your visitors](https://lovelyrender.com/resources/cookie-banner/)

## Sources

1. ↑ Mirjam Seckler, Silvia Heinz, Javier A. Bargas-Avila, Klaus Opwis and Alexandre N. Tuch, “[Designing Usable Web Forms: Empirical Evaluation of Web Form Improvement Guidelines](https://doi.org/10.1145/2556288.2557265),” University of Basel and Google, Proceedings of the CHI 2014 conference, pp. 1275-1284 (lab study, 65 participants, table 3; shares recalculated by us; [PDF](https://research.google.com/pubs/archive/42513.pdf)).
2. ↑ Edward Scott, “[Checkout UX](https://baymard.com/research-articles/current-state-of-checkout-ux),” Baymard Institute, updated on November 3, 2026 (tests of e-commerce checkout flows).
3. ↑ Edward Scott, “[Explain Phone Number Field](https://baymard.com/research-articles/explain-phone-number-field),” Baymard Institute, updated on July 29, 2025 (survey, 1,026 online shoppers, country not published on the page).
4. ↑ European Parliament and Council, “[Regulation (EU) 2016/679 (GDPR)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679),” EUR-Lex, articles 5(1)(c) (data minimization) and 6(1)(b) (pre-contractual measures), recital 32 (pre-ticked boxes).
5. ↑ CNIL, “[Exemple d’information de prospects (prospection commerciale par voie postale)](https://www.cnil.fr/fr/exemple-dinformation-de-prospects-prospection-commerciale-par-voie-postale)” [Example of information for prospects (direct marketing by mail)], page of February 7, 2022.
6. ↑ Edward Scott, “[Checkout Flow Average Form Fields](https://baymard.com/research-articles/checkout-flow-average-form-fields),” Baymard Institute, June 26, 2024.
7. ↑ Edward Scott, “[Avoid Multi-Column Forms](https://baymard.com/research-articles/avoid-multi-column-forms),” Baymard Institute, October 31, 2023.
8. ↑ Kathryn Whitenton, “[Website Forms Usability: Top 10 Recommendations](https://www.nngroup.com/articles/web-form-design/),” Nielsen Norman Group, May 1, 2016.
9. ↑ Direction interministérielle du numérique (DINUM), “[RGAA 4.1.2, critère 11.1](https://accessibilite.numerique.gouv.fr/methode/criteres-et-tests/#11.1)” [RGAA 4.1.2, criterion 11.1], the French government’s accessibility standard, accessed on November 13, 2026.
10. ↑ Edward Scott, “[Adaptive Validation Error Messages](https://baymard.com/research-articles/adaptive-validation-error-messages),” Baymard Institute, December 14, 2023.
11. ↑ Edward Scott, “[Inline Form Validation](https://baymard.com/research-articles/inline-form-validation),” Baymard Institute, January 9, 2024.
