Thursday, July 26, 2007

ASP.Net Web Form Disable Autocomplete

Problem:

Textbox control tries to auto complete entry.

A List of previously entered values are presented to the user to select.

How do you turn off this feature?


Solution:

<form method="post" autocomplete="off" >
</form>

that's all it takes.

one note. this disables auto complete for the entire form.

No comments: