• Resolved marklb98

    (@marklb98)


    Hi

    I made a form but in one field when i click on the field it appears me the autocomplete from chorme credit card, and i don’t want that to appear

    I disabled the autocomplete on settings, but i keep appearing

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @marklb98

    Our plugin turns off the autocomplete attribute in the form tag (in the way the standard recommends), however, you can try the following piece of code to turn off the autocomplete attributes at level of fields.

    * Insert a “HTML Content” field in the form, and enter as its content the following piece of content:

    
    <script>
    fbuilderjQuery(document).one('showHideDepEvent', function(){
    fbuilderjQuery('#fbuilder').find('[type="text"],[type="email"],[type="password"],[type="number"]').attr('autocomplete', 'off');
    });
    </script>
    

    Please, if you have any other question, I would need the URL to the webpage where the form has been published for checking its structure.

    Best regards.

    Thread Starter marklb98

    (@marklb98)

    Hi

    It doesn’t work

    The page is https://www.grupo-nordeste.com/pedir-presupuesto/

    There are two toggles and the problem happens with Chrome in the field named Numero de Personas a Contratar, and it happens when you have your credit card saved

    Regards

    Plugin Author codepeople

    (@codepeople)

    Hello @marklb98

    I’m testing your page and the issue you are reporting is not happening from my side, however, there are many users in the Internet reporting issues with the way that Chrome implements the autocomplete, and unfortunately, there are solutions that work in some versions of Chrome but not in others (https://stackoverflow.com/questions/15738259/disabling-chrome-autofill)

    For example, there are an user that recommend you use the autocomplete in false instead off. So, in this case the code to include into the “HTML Content” field would be:

    
    <script>
    fbuilderjQuery(document).one('showHideDepEvent', function(){
    fbuilderjQuery('#fbuilder').find('[type="text"],[type="email"],[type="password"],[type="number"]').attr('autocomplete', false);
    });
    </script>
    

    By the way, I recommend you to check the extensions installed on your browser, because the extensions can impose their own behavior to the browsers.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Autocomplete Chrome’ is closed to new replies.