WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mrcharcoal
    Member
    Posted 2 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?

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

  2. Milorad.Ivovic
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Has anyone found a solution to this?
    Thanks.

  4. mrcharcoal
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

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

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

    Thank you Łukasz Wilk, works for me!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic