Saturday 10 November 2018

html - Is there a way to prevent browser autofill an input box?






Possible Duplicates:
How do you disable browser Autocomplete on web form field / input tag?
Is there a W3C valid way to disable autocomplete in a HTML form?






My browser automatically fills the register form in my website, which is supposed to be anonymous so it's not a very good sign to users to see their names already on the form.



Is there a way to prevent this from happening?




I could take the input box and simply erase it with javascript but I wanted to know if there was another way round. Thanks




Answer






That should work.


No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...