473,322 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

anyway to programatically disable autocomplete for Firefox and IE for specific form fields?

If I have a web form where a user enters sensitive information, such
as a SS#, is there any way for a web site to prohibit any browser from
remembering data for specific fields (IE's autocomplete)?

Any tricks?

Jul 26 '07 #1
3 6875
oj******@yahoo.com wrote:
>
is there any way for a web site to prohibit any browser from
remembering data for specific fields (IE's autocomplete)?
Even though the autocomplete attribute is non-standard, browsers other
than IE support it. gecko-based browsers have for a long time, but I
can't say about KHTML browsers, or Opera.

--
Berg
Jul 26 '07 #2
On Wed, 25 Jul 2007 17:08:32 -0700, oj******@yahoo.com wrote:
>If I have a web form where a user enters sensitive information, such
as a SS#, is there any way for a web site to prohibit any browser from
remembering data for specific fields (IE's autocomplete)?

Any tricks?
You could add a random number to the end of the field's name
attribute. E.G. <input type="textbox" name="ssecuritynumber284625" />

Depending on the sort of CGI you use, you can strip the numbers out
and retrieve the original form name.

The browser would still remember it but it there would be a very slim
chance of ever popping up again.
--
Brendan Gillatt
www.brendangillatt.co.uk
GPG: 0xBACD7433
Jul 26 '07 #3
Brendan Gillatt <br*****@brendanREMOVETHISgillatt.co.ukwrites:
On Wed, 25 Jul 2007 17:08:32 -0700, oj******@yahoo.com wrote:
>>If I have a web form where a user enters sensitive information, such
as a SS#, is there any way for a web site to prohibit any browser from
remembering data for specific fields (IE's autocomplete)?

Any tricks?

You could add a random number to the end of the field's name
attribute. E.G. <input type="textbox" name="ssecuritynumber284625" />

Depending on the sort of CGI you use, you can strip the numbers out
and retrieve the original form name.

The browser would still remember it but it there would be a very slim
chance of ever popping up again.
True, but one reason to worry about such things is that the
information is stored at all -- for example on a laptop this might be
stolen I don't really want any form data to saved in an accessible
format.

--
Ben.
Jul 26 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: no | last post by:
Is there any way to disable the saved form information Mozilla Firefox and Internet Explorer presents in a list every time you type text in a form input, on a page you use every day? If so, what...
1
by: Kubus | last post by:
Please help, IE 6.0 seems to hava a problem with input form autocomplete dropdown positioning. The dropdown list with last entries which appears normally right below the field but when used within...
1
by: hortoristic | last post by:
We are using JavaScript to Enable/Disable certain fields on web pages based on business rules. A simple example is if when using an option type tag, and the two options are Yes and No. If YES...
40
by: Alex | last post by:
Hello, does anybody know how to turn off the autocomplete feature for a certain text field? I am aware of the "autocomplete" attribute, but I have seen other implementions achieving it...
3
by: Anks | last post by:
Hi All, A user can control the AutoFill option by enabling / disabling the Remember Passwords option in Options - Privacy - Saved Passwords section. But is it possible to disable this option...
3
by: Pete | last post by:
I'm currently doing a database that uses comboboxes to look up records in other tables, whether they be lookup tables or otherwise. When a user needs to add an item to one of these tables, the...
7
by: sea | last post by:
Is it a good idea to programatically create a primary key? For example in a table called names, I have the following fields, (1) firstname (2)lastname (3) ID - will it be ok to create a primary...
4
by: Chris | last post by:
I have an asp.net page say page1.aspx. The form in html code is <form id = "Form1"> And i want to disable all the fields of the form after some code steps. I had created a javascript funct: ...
0
by: venu | last post by:
Hi All I need some help from u guys. iam working on aspx page.in this page i have lot fields. text boxes and dropdown lists .. First filed should be a autocomplete filed. this text has onblur...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.