UICheck

FormsUpdated 3 October 20262 min read

Mobile form problems and how to fix them

Forms are where visitors turn into leads and customers, and phones are where forms go wrong: placeholders that disappear, keyboards without an @ key, pages that zoom in on every field, and a submit button hidden behind a chat widget.

What it looks like

The same page on an iPhone 17 (402px wide), with the problem and then the fix.

Before
Before: Placeholder-only fields with faint borders and 13px text: the labels vanish as you type, and iPhones zoom in.
Placeholder-only fields with faint borders and 13px text: the labels vanish as you type, and iPhones zoom in.
After
After: Visible labels, 16px text, clear field edges and a full-width button.
Visible labels, 16px text, clear field edges and a full-width button.

Use real labels, not only placeholders

A placeholder disappears as soon as someone types, so they forget what the field was for. Give every field a visible <label> connected with for and id. It also makes the label tappable.

<label for="email">Email</label><input id="email" type="email" autocomplete="email">

Get the right keyboard

Tip

type="email", type="tel" and inputmode="numeric" pick the right keyboard, and autocomplete lets the phone fill the field in for the visitor.

The input type and inputmode choose the phone keyboard, and autocomplete lets the phone fill in saved details.

  • type="email" shows a keyboard with @
  • type="tel" shows a number pad for phone numbers
  • inputmode="numeric" for codes and numbers that aren’t phone numbers
  • autocomplete="name", "email", "tel", "postal-code" for one-tap filling

Stop the zoom on focus

iPhone Safari zooms in when a field’s text is under 16px. Set 16px on inputs instead of disabling zoom (which hurts accessibility).

input, select, textarea { font-size: 16px; }

Make controls easy to tap and find

Checkboxes and radio buttons should be wrapped in their label so the whole line is tappable. Keep the submit button full-width on phones, and check that cookie banners or chat widgets don’t cover it.

@media (max-width: 767px) { form button[type="submit"] { width: 100%; min-height: 48px; } }

Checklist

Questions

Are placeholders enough instead of labels?

No. Placeholders vanish while typing and are often low-contrast. Use visible labels; placeholders can show an example.

How do I show the number keyboard on mobile?

Use type="tel" for phone numbers, or inputmode="numeric" for other numbers like codes.

How do I stop iPhone zooming on form fields?

Give fields a font-size of 16px. Don’t disable zoom with maximum-scale, which blocks people who need to zoom.

Find these bugs before your client does

Free account, 5 checks a day, no card. UICheck finds sideways scroll, cut-off text, overlaps and small tap targets on every screen.