On this page
What this issue is
On a phone, the browser decides which keyboard to show based on the field. An <input type="email"> gets a keyboard with @ and . close to hand. An <input type="tel"> gets a number pad. A plain <input type="text"> gets the standard letter keyboard.
The issue is when a field that expects an email, phone number, postcode, card number or quantity is built as a plain text input. It happens often with page builders, custom-styled forms and fields that were switched to type="text" to avoid browser validation.
inputmode is a second attribute that only controls the keyboard, not validation. Values include numeric, decimal, tel, email, url and search. It is useful when you need the keyboard but not the browser's own validation rules.
Why it costs you leads or sales
Typing a phone number on a letter keyboard means switching to the numbers layer first. Typing an email means finding @. Each extra tap is friction on the one step where you want the visitor to finish. The result is more typos, more abandoned forms and more leads with a wrong number or email that you can never contact.
The impact is usually medium rather than severe: the form still works, it is just slower and less accurate. On mobile-heavy traffic from ads, it adds up.
- Ad clickVisitor lands on mobile
- Open formTaps the phone field
- Letter keyboardNo number pad or @ key
- Typos or exitWrong number, or form abandoned
The form still submits, but friction and typos build up at the contact fields.
Example: illustrative numbers only, showing how a better keyboard could lift completion.
How to check if your site has it
Open the form on your phone
Use both an iPhone and an Android phone if you can. Tap each field in turn.
Watch the keyboard
Email should show
@. Phone should show a number pad. Postcode, quantity and card-like numbers should show digits.Inspect the HTML
In desktop Chrome, right-click the field, choose Inspect and look at the
typeandinputmodeattributes. Use the device toolbar to view the page at phone size.List the mismatches
Note every field whose type does not match the data it asks for.
| Field | Recommended markup | Keyboard shown |
|---|---|---|
| type="email" | Letters with @ and . | |
| Phone | type="tel" | Number pad |
| Postcode (numeric, e.g. US ZIP) | inputmode="numeric" | Number pad |
| Quantity or age | type="number" or inputmode="numeric" | Number pad |
| Price or amount | inputmode="decimal" | Numbers with decimal point |
| Website | type="url" | Letters with / and .com |
How to fix it
The right fix depends on how the form is built. Most builders have a field type setting. If not, you add the attribute in the HTML.
<input type="email" name="email" autocomplete="email" required>
<input type="tel" name="phone" autocomplete="tel">
<input type="text" name="zip" inputmode="numeric" autocomplete="postal-code">Use the right field type
In Contact Form 7 use
[email* your-email]and[tel your-phone]. In Gravity Forms, Forminator, WPForms and Fluent Forms, add the Email and Phone field types rather than Single Line Text.Add inputmode if needed
For numeric text fields, add a custom attribute if your form plugin supports it, or use a small script (see Custom code).
Check theme form inputs
In Online Store > Themes > Edit code, find the form snippet or section (for example the contact form or custom forms). Set
type="email"ortype="tel"on the inputs.Checkout fields
Shopify's own checkout sets field types for you, so focus on custom forms and app forms.
Pick the input type
Select the field, open the Element Settings panel and set Type to Email or Phone rather than Text.
Add a custom attribute
For numeric fields, add the custom attribute
inputmodewith valuenumericin the same panel.
Use the standard fields
In the form or survey builder, add the Email and Phone standard fields instead of a custom text field.
Test on mobile
Preview the form on a phone, as custom fields may still show a letter keyboard.
Choose the field type
In Wix Forms, add Email and Phone fields rather than Short answer.
Velo forms
If you use custom inputs with Velo, pick the Input element and set its Input Type to email or tel.
Use Email and Phone fields
In the form block, edit the field and choose Email or Phone, not Text.
Test the result
Open the published page on a phone to confirm.
Avoid as a first choice
Fix this in the form itself. If you cannot edit it, a Custom HTML tag can set attributes after load, but it is fragile if the form re-renders.
Edit the markup
Change
type="text"toemailorteland addinputmodewhere needed.Patch third-party embeds
If a script builds the form, set the attribute after it renders, using the snippet below.
document.querySelectorAll('input[name*="email" i]').forEach(function (el) { el.type = 'email'; });
document.querySelectorAll('input[name*="phone" i]').forEach(function (el) { el.type = 'tel'; });
document.querySelectorAll('input[name*="zip" i]').forEach(function (el) { el.setAttribute('inputmode', 'numeric'); });Before
- type="text" on phone and email
- Letter keyboard on every field
- Visitors switch layers to type digits
After
- type="email" and type="tel"
- Matching keyboard appears on tap
- Fewer typos in phone and email
How to confirm it's fixed
- Email field shows a keyboard with @ on iPhone and Android
- Phone field shows a number pad on both
- Numeric fields such as postcode or quantity show digits
- The form still validates and submits
- A test submission reaches your inbox or CRM with the correct values
- Autofill still offers saved email and phone
How to prevent it happening again
- Pick Email and Phone field types from the builder, never generic text
- Add a mobile keyboard check to your launch checklist for every new form
- Re-test after switching form plugins, themes or builders
- Re-test embedded third-party forms after they update
- Pair with autocomplete attributes so autofill works too
How FunnelGuard handles this
FunnelGuard does not check this yet. Which keyboard a field triggers is a possible future check, so it is not something FunnelGuard reports today.
What FunnelGuard does cover nearby: a robot visitor runs your real lead form on a schedule, checks each step, and confirms that a test lead reaches your inbox and CRM. That helps you notice if a form change breaks submission, but it will not tell you the wrong keyboard is showing.
To watch for it yourself, test each new or edited form on a real iPhone and Android phone, and inspect the type and inputmode attributes in your browser's developer tools. A free read-only website audit is also available from FunnelGuard, though it is not a keyboard check.
FAQ
Questions people ask
Why is my phone number field showing a letter keyboard on mobile?
The field is most likely a plain text input. Phones choose the keyboard from the type and inputmode attributes, so a text input gets letters. Change it to type="tel" or add inputmode="tel".
How do I show the number pad for a form field?
Use type="tel" for phone numbers, or inputmode="numeric" for digits-only values like postcodes and quantities. In most builders you pick a Phone or Number field type instead of editing HTML.
What is the difference between type="email" and inputmode="email"?
type="email" changes the keyboard and also turns on the browser's email validation. inputmode="email" only changes the keyboard and does not validate. Most forms should use type="email".
Should I use type="number" for a postcode or card number?
No. type="number" can drop leading zeros and adds spinner arrows. Use type="text" with inputmode="numeric" so you get the number pad without those side effects.
How do I fix the wrong keyboard in Contact Form 7 or WordPress forms?
In Contact Form 7, use the [email] and [tel] tags instead of [text]. In other plugins, add Email and Phone field types rather than Single Line Text.
Does the wrong keyboard stop the form from working?
No, the form still submits. It just makes typing slower and more error-prone, which can lower completion and produce wrong contact details.
Does FunnelGuard detect the wrong mobile keyboard?
Not yet. It is a possible future check. FunnelGuard does run your real lead form on a schedule and confirm test leads arrive, so a broken submission would be noticed, but keyboard type should be tested by hand on a phone.
Related issues
- PRF-167Autocomplete attributes missing so autofill failsFix guide
- PRF-165Inputs with font-size under 16 px cause iOS auto-zoomFix guide
- PRF-155Main CTA below the fold on mobileFix guide
- PRF-158Fixed bottom bar covers form submit buttonFix guide
- PRF-161Pinch-zoom disabled (user-scalable=no / maximum-scale=1)Fix guide
- PRF-154Horizontal scroll / content wider than viewport on mobileFix guide