Contact Form 7
Contact Form 7 : Disable or Correct Chrome AutoComplete (7 posts)

  1. mrcharcoal
    Posted 4 years ago #

    When a user selects AutoComplete, Chrome seems to fill fields at random. I've tried different field naming conventions, but no luck. I'd like the form to autocomplete properly, but if not, I'd like to at least shut off autocomplete. I haven't fond a way to do either.

    Any autocomplete="off" attributes are apparently placed in the <form> or <input> tags, but how is this added with Contact Form 7?


  2. Milorad.Ivovic
    Posted 3 years ago #

    I'd also like to know this.

    It's increasingly more important for mobile sites to be able to turn off autocorrect, or automatic capitalization on certain fields.

    Is there a hook or something we can do in functions.php? I don't really want to hack the plugin, but if that's the only way...

  3. Jason McArtor
    Posted 3 years ago #

    Has anyone found a solution to this?

  4. mrcharcoal
    Posted 3 years ago #

    No, never did find a way to disable the autocomplete in CF7. Ended up paying for a Gravity Forms license, works great.

  5. Jason McArtor
    Posted 3 years ago #

    @mrcharcoal Thanks for the suggestion and quick response. Might be time for me to go "paid" as well.

  6. Łukasz Wilk
    Posted 3 years ago #

    I had similar problem with autocomplete messing up my form and putting everywhere e-mail. The problem was with labels. And to be more precise, the lack of them. Every field must have a label with 'for' tag. Here is an example code how it should look like.

    <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>
  7. Vlad
    Posted 3 years ago #

    Thank you Łukasz Wilk, works for me!

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