Leads & conversion ·

Contact form best practices: forms people actually finish

Fields, labels, phone numbers, errors, spam protection and what happens after submit: how to build a contact form that real people complete and nobody loses.

By Kareem Mohamed, Web Developer at Digital House

Contact form best practices: forms people actually finish

Contact form best practices come down to respect: ask only for what you need, explain what happens next, and never lose what someone typed. In this article I go field by field through how I build forms that visitors in the UAE and Saudi Arabia actually finish, then cover spam, privacy and the minutes after someone presses send.

A form is the moment a visitor stops reading and starts trusting you with their details. Small frictions here, such as an unclear label, a rejected phone number or a puzzle to prove they are human, are often enough to make them close the tab.

How many fields should a contact form have?

As few as you can respond with. For most service businesses that is three or four: a name, a phone number or email, and a short message or a choice of service. Everything else can be asked in the first conversation.

The test I use with clients is simple: for each field, what will we do differently with this answer? If the honest reply is "nothing, but it would be nice to know", the field goes. If the answer genuinely changes who handles the enquiry, such as the service needed or the preferred language, it stays.

  • Always: name, one contact method, what they need.
  • Often useful: service or product from a short dropdown, preferred contact method (call, WhatsApp, email), preferred language.
  • Sometimes: budget range or timeline, but only when it changes how you respond, and always optional.
  • Rarely: company size, job title, full address. Ask later, when there is a reason.

If you genuinely need a lot of information, such as for a detailed quote, split the form into short steps and show progress. Two short screens feel easier than one long one.

Labels, phone numbers and Arabic input

Put a visible label above every field. Placeholder text inside the box disappears the moment someone starts typing, so it cannot be the label. Use the right input types and autocomplete attributes, so phones show the number keypad for phone fields and browsers can fill in names and emails for the visitor.

<label for="phone">Mobile number</label>
<input id="phone" name="phone" type="tel"
       autocomplete="tel" inputmode="tel" dir="ltr"
       placeholder="+971 50 123 4567" required>

Phone numbers deserve special care in the Gulf. Visitors type them every possible way: with or without +971 or +966, with a leading zero, with spaces, or in Arabic-Indic digits such as ٠٥٠ on an Arabic keyboard. Accept all of them and tidy the number up on the server, rather than rejecting a perfectly valid number because of its format.

  • Default the country code to your main market, but let people change it.
  • Convert Arabic-Indic digits to Western digits before you validate or save.
  • In Arabic forms, keep phone and email fields left-to-right (dir="ltr") inside the right-to-left layout.
  • Write labels, errors and the button in the page’s language; a mixed-language form looks unfinished.

Errors that help instead of blame

Validation should help someone finish, not punish them for trying. Check fields when the visitor leaves them, not on every keystroke, and show the message next to the field in plain words: "Please add a phone number or an email so we can reply", not "Invalid input".

Most importantly, never clear the form after an error. If the server rejects a submission, everything the person typed should still be there. Losing a long message is the fastest way to lose the enquiry with it.

Checklist for a contact form people finish: few fields, visible labels, flexible phone input, clear errors, quiet spam protection, a useful thank-you message, leads stored safely and a monthly test.
Checklist for a contact form people finish: few fields, visible labels, flexible phone input, clear errors, quiet spam protection, a useful thank-you message, leads stored safely and a monthly test.

Spam protection without punishing real people

Spam is real, and an inbox full of it means real enquiries get missed. But the answer is not to make every visitor solve a puzzle. I layer quiet checks that real people never notice:

  • A honeypot field: a hidden field that people never see but bots fill in. Submissions with it filled are discarded.
  • A time check: a form submitted a second after the page loaded was not filled in by a person.
  • Server-side validation: every rule checked on the server, not only in the browser.
  • Rate limiting: a cap on how many submissions one address can send in a short period.
  • An invisible challenge when needed: tools such as Cloudflare Turnstile or Google reCAPTCHA can check visitors in the background, with a visible challenge only when something looks wrong.

Forms are also an entry point for attacks, not just spam, so they belong in your website security checklist along with plugins and passwords.

What should happen after someone presses send?

This is the part most sites skip, and it is where trust is either confirmed or lost. The visitor has just handed over their details; they want to know it worked and what comes next.

  • A clear thank-you message that says when and how you will reply, such as "We reply within one working day, usually by WhatsApp". Only promise what your team really does.
  • A confirmation email with a copy of what they sent, so they have a record.
  • The lead saved in a database or CRM first, then emailed. Email alone can fail quietly, so it should never be the only copy.
  • A notification to the person who owns new leads, not a shared inbox nobody checks.
  • A tracking event that fires only when the submission succeeds, so your reports count real enquiries.

On Build IN, a bilingual consultancy site in Jeddah, the lead forms go straight into a CRM. On the Digital House site, enquiries and booked calls sit together in the dashboard behind the site. If your forms still only send an email, connecting website leads to a CRM shows the next step, and tracking leads in GA4 covers the event.

Consent and privacy, briefly

Both the UAE and Saudi Arabia have personal data protection laws, and both affect what you collect and how you keep it. In practice: collect only what you need, link to a clear privacy policy near the button, and keep any consent to marketing separate and unticked, so replying to an enquiry and adding someone to a newsletter are two different choices. Check with your legal adviser what your sector requires.

A form is a promise. The visitor keeps their side by filling it in; the business keeps its side by replying.

A good form is one contact path among several. Many visitors would rather message you, so read WhatsApp on your website too, and see how forms fit the whole picture in the guide to website lead generation.