On this page
What this issue is
Autofill lets a browser fill a form from details the visitor saved earlier: name, email, phone, address. To know which saved value goes in which box, the browser reads each field's autocomplete attribute. If it is missing, the browser guesses from the name, id or label text.
Guesses go wrong. A field named name in a company-only form may get the person's full name. A field called phone2 may get nothing. A bad value such as autocomplete="nope" or a typo like autocomplete="e-mail" is ignored or misread.
| Problem | Example | Result |
|---|---|---|
| Attribute missing | <input name="field_7"> | Browser guesses from label or name, often wrongly |
| Misspelled token | autocomplete="e-mail" | Ignored, no autofill |
| Wrong token | autocomplete="name" on a company field | Person's name lands in Company |
| Blanket off | autocomplete="off" on every field | No help for visitors, and browsers may ignore it anyway |
| Duplicate tokens | Two fields both set to email | Same value in both boxes |
Why it costs you leads or sales
Most visitors never notice an autofill mistake until after they submit, if at all. The cost is mostly quiet: wrong data in your CRM, a phone number in the email box that fails validation, or a visitor who gives up after correcting three boxes on a phone. The business impact is usually low, but it hits mobile visitors hardest because typing is slow.
- Visitor opens formTaps first field, browser offers saved profile
- Autofill runsWrong or missing autocomplete tokens
- Wrong data in boxesName in Company, phone in email
- Visitor abandons or submits bad dataValidation errors or junk lead
The break happens when the browser maps saved data to the wrong field.
Example: illustrative numbers only. Correct autofill saves typing; wrong autofill adds correction time.
How to check if your site has it
Inspect each input
Right-click a field, choose Inspect, and look for the
autocompleteattribute on every<input>,<select>and<textarea>.Compare to the standard tokens
Check each value against the list in the fix section. Look for typos, made-up values and duplicates.
Test with a saved profileChrome
In Chrome, add a test address and phone under Settings > Autofill and passwords > Addresses and more. Open the form in a clean window and use the autofill suggestion.
Repeat in other browsers
Try Safari (iPhone and Mac) and Firefox. Each reads attributes slightly differently, so one pass is not enough.
Note every mismatch
Write down which field received the wrong value and what its name, id and label are.
How to fix it
Set one correct token per field. These are the ones lead forms use most.
| Field | Token |
|---|---|
| Full name | name |
| First name | given-name |
| Last name | family-name |
| Phone | tel |
| Company | organization |
| Job title | organization-title |
| Street address | street-address |
| Postcode / ZIP | postal-code |
| City | address-level2 |
| Country | country-name |
<form>
<label for="fn">First name</label>
<input id="fn" name="first_name" type="text" autocomplete="given-name">
<label for="ln">Last name</label>
<input id="ln" name="last_name" type="text" autocomplete="family-name">
<label for="em">Email</label>
<input id="em" name="email" type="email" autocomplete="email">
<label for="ph">Phone</label>
<input id="ph" name="phone" type="tel" autocomplete="tel">
<label for="co">Company</label>
<input id="co" name="company" type="text" autocomplete="organization">
</form>Use field settings if offered
Gravity Forms has an Autocomplete option under a field's Appearance or Advanced settings. Other form plugins vary, so check each field's settings first.
Add the attribute if there is no setting
Some plugins let you add custom attributes to a field. If yours does not, add them with a small script (see the Custom code tab) or edit the theme template for hand-built forms.
Select the input
In the Designer, click the form field, open the Element Settings panel (gear icon) and scroll to Custom attributes.
Add the attribute
Click +, enter the name autocomplete and a token such as email. Publish and retest.
Edit the theme form
In Online Store > Themes > Edit code, open the section or snippet holding your lead form and add autocomplete to each input. Dawn-based themes already set tokens in the customer and checkout forms.
Last resort only
A Custom HTML tag can add attributes after load, but it runs after the page and can be unreliable. Prefer fixing the form source.
Check the form builder
Standard fields such as name, email and phone usually get sensible attributes from the builder. Inspect the live form to confirm, and use custom code on the page only if a field is wrong.
Rely on field types
Wix form fields do not generally expose an autocomplete setting. Pick the right field type (Email, Phone, Name) and inspect the live page to see what it outputs.
Use correct field types
Form blocks have no autocomplete setting. Choose the Name, Email and Phone field types, then check the live markup. A Code Injection script can add attributes if needed.
Edit the markup
Add the correct autocomplete token to each input in your template or component.
Or patch by selector
If you cannot touch the source, set attributes with a short script that runs on DOM ready.
document.addEventListener('DOMContentLoaded', function () {
var map = {
first_name: 'given-name',
last_name: 'family-name',
email: 'email',
phone: 'tel',
company: 'organization'
};
Object.keys(map).forEach(function (name) {
document.querySelectorAll('[name="' + name + '"]').forEach(function (el) {
el.setAttribute('autocomplete', map[name]);
});
});
});Before
- No autocomplete attributes
- Field names like field_7 and input_3
- Browser guesses and mixes up fields
After
- One standard token per field
- Names, email, phone and company map correctly
- Visitor fills the form in a couple of taps
How to confirm it's fixed
- Every personal-data field has a valid, standard autocomplete token
- No two fields share the same token by mistake
- Chrome autofill puts each saved value in the right box
- Safari on iPhone fills name, email and phone correctly
- Firefox fills the same fields correctly
- A test submission arrives in your inbox or CRM with data in the right fields
How to prevent it happening again
- Add autocomplete tokens to your form template or component so every new form inherits them
- Re-test autofill after changing a form plugin, theme or page builder
- Keep field names meaningful (email, phone) rather than generic numbers
- Include autofill in your pre-launch form checklist
- Re-inspect the live markup after plugin updates, since they can rewrite attributes
How FunnelGuard handles this
FunnelGuard does not check autocomplete attributes yet. It is a possible future check, so today you need to inspect and test autofill yourself.
What FunnelGuard does cover nearby: a robot visitor runs your real lead form journey on a schedule, checks each step, and confirms that a test lead reaches your inbox and CRM. If a form change breaks the journey or loses data, that is what it is built to catch. It will not tell you that a browser autofills the wrong box.
To watch for this manually, re-run the autofill test above after any form or theme change. You can also run a browser audit tool such as Lighthouse in Chrome DevTools or an HTML validator, and review CRM records for odd patterns like names in company fields. You can start with the free plan (1 site, 2 journeys, daily checks, no card) to cover the wider form journey.
Questions people ask
Why is my form autofill putting the wrong data in the wrong fields?
The browser reads each field's autocomplete attribute, and if it is missing or wrong, it guesses from the name, id or label. Add the correct standard token, such as given-name, email or organization, to each input and retest.
What autocomplete values should I use on a contact form?
Use name or given-name and family-name for people, email for email, tel for phone, organization for company and organization-title for job title. Address fields use street-address, address-level2 for city, postal-code and country-name.
Why does Chrome ignore autocomplete="off"?
Chrome and other browsers often ignore off on fields holding personal data because it hurts usability. Use correct tokens instead, and keep off for fields that truly should not be saved.
How do I test autofill on my form?
Save a test profile in your browser's autofill settings, open your form in a clean window and choose the suggestion. Check that each value lands in the right field, then repeat in Safari and Firefox.
Does wrong autofill affect conversion rates?
It can, mostly on mobile, where correcting boxes is slow and visitors may abandon the form. The impact is usually low, but wrong data also pollutes your CRM.
Can I add autocomplete attributes in Webflow or WordPress?
Yes. In Webflow use Custom attributes in Element Settings. In WordPress, use your form plugin's autocomplete or custom attribute option, or add attributes with a small script.
Does FunnelGuard check autocomplete attributes?
No. It is a possible future check. FunnelGuard does run your real form journey and checks that a test lead reaches your inbox and CRM, but you need to test autofill manually.
Related issues
- CNV-002Form field renamed or removed so the lead loses dataFix guide
- CNV-004Field labels missing or placeholder-only, field purpose unclearFix guide
- CNV-005Email field uses type=text so mobile shows the wrong keyboardFix guide
- CNV-006Phone field rejects international formats (+44, +971)Fix guide
- CNV-019Form fields too small or overlapping on mobileFix guide
- CNV-026Special characters or accents rejected in name fieldFix guide