This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
HI Friends We enter data into some text field and submitted. When we comeback to that page and enter a character, it will display all previous entered data which start with that character. How to prevent this? Can any body help me? thanks in advance
Does autocomplete work for Firefox as well or is that just an IE thing? In my case I use mostly Struts tags which do not support the autocomplete attribute so I had to come up with a different solution. My solution was to use the following call to disable autocomplete for all fields on the form:
Autocomplete works in my copy of Firefox. But don't you have Firefox installed on your computer? If you have this question, then really you should install it, so you can test your application in it.
Joined: Feb 08, 2006
I threw out my solution because it seems slightly more standards compliant. But then again auto-completion of fields is not a defined standard so I am not sure there is really a way to do something non-standard and still stick with the standards. In my case, adding an autocomplete attribute to input tags causes XHTML validation messages and does not work when using Struts custom tags so setting the attribute on the form worked for me.