BlogGuides · October 7, 2026 · 5 min read

Contact Form 7 Autocomplete: Help Browsers Fill the Right Fields

Configure CF7 autocomplete tokens for names, email and phone fields. Test browser suggestions, edited values and reporting without logging personal data.

Browser autofill can save a visitor from typing the same contact details again, but it needs a clear signal about what each field means. In Contact Form 7, an autocomplete token tells the browser whether an input expects a name, email address or telephone number. Configure those signals deliberately, then check what happens when someone accepts a suggestion and edits it.

A hand selects a suggested profile beside a mint form and key symbol.
Conceptual illustration; not a product screenshot or measured result.

Separate browser suggestions from field defaults

Autocomplete is a request to the visitor’s browser. It does not fetch a profile from your WordPress database, prequalify a lead or verify that an address belongs to the person submitting it. A browser may have saved information, may offer a suggestion, or may offer nothing. Your form must remain usable in every case.

A default value is different: the site places a value in the field before the visitor acts. If your requirement is to carry a campaign or page value into an editable input, use the CF7 prefill guide. A placeholder is a visible hint, which disappears as someone types. Neither mechanism replaces a persistent label explaining the requested information.

Choose tokens by the meaning of the answer

CF7 supports an autocomplete: option on relevant form-tags. Start with a small contact form whose fields have one clear purpose. These are illustrative form-template examples, not a claim that they were installed or tested on your site:

<label>Full name
[text* your-name autocomplete:name]</label>

<label>Email address
[email* your-email autocomplete:email]</label>

<label>Phone number (optional)
[tel your-phone autocomplete:tel]</label>

Keep your existing field names if mail templates or integrations already depend on them. Adding a semantic option does not require renaming your-email. Renaming the field without updating every consumer can break a working handoff while the form still looks correct.

Use given-name and family-name when separate name parts serve a real requirement. Use organization for a company name. Do not label an inquiry reference, booking code or product identifier as a personal name just to encourage autofill. A convenient but wrong suggestion creates cleanup work for the recipient.

Inspect the rendered fields before testing suggestions

Open the actual page and inspect each input in browser developer tools. Check that the expected autocomplete attribute appears on the control, that the label is associated with it, and that the HTML ID is unique. A page builder, duplicated component or custom script can alter the final markup.

For pages containing several forms, follow the multiple-form instance guide. Repeated contact fields can cause browser heuristics to choose an unexpected group. MDN documents section tokens for distinguishing groups, but CF7’s handling of a multi-token value should be checked against your installed version and rendered HTML before adoption. Begin with the supported single tokens when that meets the requirement.

The root form’s autocomplete setting and individual field settings are separate. CF7 documents a form-level filter; most ordinary contact forms benefit more from correct field semantics than from a blanket switch. Avoid turning autocomplete off everywhere in response to one misidentified field. Isolate that field and examine its name, purpose and surrounding markup first.

Run a small browser matrix with synthetic profiles

Use a staging copy with a controlled mail destination. Create a synthetic browser profile with invented contact details, then test the page in the browser and operating system combinations your audience actually uses. Mobile keyboard and saved-profile behavior need direct observation; resizing a desktop window is a layout check, not proof of mobile autofill behavior.

  1. Load the form in a profile with no saved contact information. Every required field must remain understandable and editable.
  2. Select a saved name or email suggestion. Check which other fields the browser fills at the same time.
  3. Edit the suggested email and optional telephone value. The final submitted answer should reflect the edit.
  4. Leave a required field blank, trigger validation, then correct it. Confirm that useful entered values survive the recovery.
  5. Reload and revisit the form. Record what is a browser suggestion, a restored value or a site-supplied default.

Record the browser version, operating system, page, form identity and expected outcome. A statement such as “autofill failed” is too broad to diagnose. “The saved organization filled the message field on mobile Safari” points to a specific markup or browser interpretation problem.

Verify the final answer through the lead workflow

On staging, compare the corrected input with the value received by your mail template, stored submission record or integration destination. Check the field mapping independently of browser behavior. A suggestion can be visibly correct while a downstream mapping still uses an outdated field name.

For operational measurement, record form identity and outcome categories rather than raw names, phone numbers or email addresses in general analytics events. A successful CF7 mail event describes the application outcome; it does not establish inbox placement. Follow the DOM-event guide for choosing the signal your report can honestly describe.

Evaluate improvements without inventing a conversion claim

Correct semantic attributes are useful even when you cannot measure their individual effect. If you change autocomplete and later see more submissions, other changes in traffic, campaign mix or form placement may explain the difference. Save the change date, covered pages and test results, then compare equal reporting periods before attributing a result to autofill.

Keep a short maintenance record listing the field purpose, token and downstream key. Recheck it after a redesign, new form placement or browser-specific support report. If a field changes from a personal name to a company contact reference, its old token may no longer describe the answer correctly.

To review CF7 submission outcomes alongside this testing work, start with Svetlik Analytics for Contact Form 7 and the analytics setup guide. This site publishes that product. Submission reporting complements browser checks; it does not automatically measure autofill use or field abandonment.

Official references