1

On my site I have many forms, some of which I do not want browsers to autocomplete/fill.

I have tried adding autocomplete="off" on all imputs which I don't want to be completed/filled.

This appears to be the standard method but I cannot seem to find any others, is there another way to do this?

Thanks

        <label>First Name:</label><input type="text" id="fname" name="fname" autocomplete="off" placeholder="<?php echo ($userRow['fname']); ?>" /><br />
        <label>Last Name:</label><input type="text" id="lname" name="lname" autocomplete="off" placeholder="<?php echo ($userRow['lname']); ?>" /><br />
        <label>Email:</label><input type="text" id="email" name="email" autocomplete="off" placeholder="<?php echo ($userRow['email']); ?>" /><br />
j08691
  • 204,283
  • 31
  • 260
  • 272
Sauced Apples
  • 1,163
  • 2
  • 14
  • 37

1 Answers1

1

This is a feature which changed on Chrome not long ago, you can find a solution after looking through Google's Chrome Help Forum the way I did:

  1. Click the Chrome menu Chrome menu on the browser toolbar.
  2. Select Settings.
  3. Click Show advanced settings and find the "Passwords and forms" section.
  4. Deselect the "Enable Autofill to fill out web forms in a single click" checkbox.
  5. Lastly, if you are want to get rid of predictions in the address bar in Chrome, you can learn how to disable that feature.

If this helped then fantastic, otherwise I highly recommend you make a request at: Google Chrome Help Forum.

Also very important your forms will change as Chrome/other browsers change, so it matters to keep in touch with the latest changes if you are looking for a permanent solution.

AGE
  • 3,752
  • 3
  • 38
  • 60
  • 1
    This would have to be done on everyone's PC. As it's a website, it would be globally accessible, so not a viable option. – Sauced Apples Nov 03 '15 at 21:42
  • 1
    sadly true, but according to https://support.google.com/websearch/answer/106230?hl=en there's little we can do about it – AGE Nov 03 '15 at 21:43
  • Thank you for the answer anyway – Sauced Apples Nov 03 '15 at 21:44
  • 1
    No problem @DanielMinett, try asking Google Help Forum I bet they can be more specific about how to get around this issue... but so far all I read is complaints on how this feature is no longer up to the programmer's control – AGE Nov 03 '15 at 21:45