Support » Plugin: Contact Form 7 » Chrome Autofill filling email in all fields

  • 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!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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>

    Thanks for the info ?ukasz Wilk!

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

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Chrome Autofill filling email in all fields’ is closed to new replies.