WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. skippywp
    Member
    Posted 1 year 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!!

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Łukasz Wilk
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Thanks for the info ?ukasz Wilk!

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

  4. Łukasz Wilk
    Member
    Posted 1 year 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

About this Topic