Preventing Auto-Completion for CC text box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How would I disable IE auto completion on text boxes that receive credit card
information?

I'd like to continue using standard built-in TextBox server controls if
possible.

Kind regards

Ben
 
This is an Internet Explorer behavior. I do not think you can modify it
from inside ASP.NET. A standard TextBox control is rendered as:
<input type=text>. Maybe you can use some sort of Microsoft specific
HTML to do it, but I am not aware of it.

Grtz,

Wouter van Vugt
Trainer - Info Support
http://blogs.infosupport.com/wouterv
 
add the attribute autocomplete="off"

<input type=text autocomplete=off>

-- bruce (sqlwork.com)
 
TextBox server control doesn't have an AutoComplete property though.

I really would like to avoid using HTML controls if possible.

Thanks

Ben
 
The TextBox doesn't need an AutoComplete property. When it is not
present it will be added as an
attribute in the HTML none-the-less.

Grtz, Wouter van Vugt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top