HI, I have an input field that will be in regular use on my web app but browsers, especially firefox, keep suggesting content to fill the field based on previous input. I'm sure you know what I'm talking about. You know, when I type an "a" it makes a drop down list of previous inputs with an a "a" in it.
I don't know why this is in the 'JavaScript Help & Troubleshooting' category. http://www.google.co.za/search?source=ig&hl=en&rlz=1G1GGLQ_ENZA377&=&q=disable+firefox+autocomplete&btnG=Google+Search
Responses like this really frustrate me. Matt I have the same requirement as you and would really appreciate any suggestions from someone who has a definitive answer.
Jamy_za - Think outside your own box - "People generally like" - The web is all about purpose, in my case and I'm sure in Matt's "WEB APP", people generally wouldn't like - hence the original post.
@nakedweb I'm here to help people. If @mattvot had replied and gave me a fair reason why he wanted it removed, I would then make a plan to either look deeper into it or find a work around - Otherwise I might be wasting my time by looking into something when there is no problem.
@jamy_za I'm not trying to start a row but the assumption could be that when a request comes from an intelligent sounding person that they do have good reason for wanting it rather than the opposite - thats all.
Not having a go at you at all just forums are full of non answers and it frustrates me!
At this time, there is no known workaround to disable the native browser autocomplete attribute. Therefore, the native suggestion box may be redundantly displayed during user interactions with the AutoComplete control.
So it seems as if developers aren't able to control the users' browsers' autocomplete option.
Edit: Lol, @coffeendonut 's solution was extremely simple. I guess the Yahoo article was published a while ago.
That's great @coffeendonut and works a treat. A bit annoying as I had thought about the autocomplete property but wrongly thought it just prevented password completion. Don't know where I got that idea from...
Cheers @jamy_za for looking - my users won't have to be presented with dozens of useless code options when clicking in my text box ;-)
I have an input field that will be in regular use on my web app but browsers, especially firefox, keep suggesting content to fill the field based on previous input. I'm sure you know what I'm talking about. You know, when I type an "a" it makes a drop down list of previous inputs with an a "a" in it.
Is there a way to disable this function?
Thanks
http://www.google.co.za/search?source=ig&hl=en&rlz=1G1GGLQ_ENZA377&=&q=disable+firefox+autocomplete&btnG=Google+Search
I figured that it might be a javascript fix, rather than css or php, and that the fact that there is no normal HTML sub-forum.
Matt I have the same requirement as you and would really appreciate any suggestions from someone who has a definitive answer.
Jamy_za - Think outside your own box - "People generally like" - The web is all about purpose, in my case and I'm sure in Matt's "WEB APP", people generally wouldn't like - hence the original post.
Not having a go at you at all just forums are full of non answers and it frustrates me!
So it seems as if developers aren't able to control the users' browsers' autocomplete option.
Edit: Lol, @coffeendonut 's solution was extremely simple. I guess the Yahoo article was published a while ago.
you just put ' autocomplete="off" ' on the input filed aka tag...
A bit annoying as I had thought about the autocomplete property but wrongly thought it just prevented password completion. Don't know where I got that idea from...
Cheers @jamy_za for looking - my users won't have to be presented with dozens of useless code options when clicking in my text box ;-)
i just tried that on the input tag but works to on the form tag...etc
Good to know - Cheers again
Just to put it out there, my situation is that one of the features of my web app my own auto complete box which was interfering with this one.