Contact Form 7
Chrome Autofill filling email in all fields (4 posts)

  1. skippywp
    Posted 3 years ago #

    When using the Chrome Autofill dropdown feature to fill in the email address, the email address gets filled in all the fields. I saw in another post to use proper labels, but being new to WP, I don't know what is considered proper labels as I am using the default information.

    Sure, although there's not much more I can say on the matter, we only found this problem to be occurring on forms that weren't using HTML labels at all. When we added in proper labels, it fixed the autofill issue.

    This is what I have in the form area:

    <p>Your Email (required)<br />
        [email* your-email] </p>
    <p>Subject<br />
        [text your-subject] </p>

    Can you provide a sample of what should I be using for the HTML labels and what the code should look like in the Form area?
    Thanks much!!


  2. Łukasz Wilk
    Posted 3 years ago #

    I'm not sure if you still need help but for other I will still post. You were right thinking that labels are the problem. Here is sample code of how it should look to work correct.

    <p><label for="your-email">Your Email (required)<label><br />
        [email* your-email] </p>
    <p><label for="your-subject">Subject<label><br />
        [text your-subject] </p>
  3. lukelukeluke
    Posted 3 years ago #

    Thanks for the info ?ukasz Wilk!

    But please note, the second <label> tag should actually be </label> No?

  4. Łukasz Wilk
    Posted 3 years ago #

    Yes, you are completey right. It was a typo on my side. Thx for correcting.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic