473,412 Members | 2,284 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,412 software developers and data experts.

non-remembering fields

My browser "remembers" what I typed previously in text fields and gives
me a drop-list of "suggestions" as I type. I generally like this
feature, but was asked to disable it for a specific text field on a web
page I maintain. I've seen instances where the feature does seem to be
disabled, so what is the trick to disable the browser from remembering
previous input for a specific text entry or two?

Mark
Nov 8 '07 #1
11 2713

Mark wrote:
My browser "remembers" what I typed previously in text fields and gives
me a drop-list of "suggestions" as I type. I generally like this
feature, but was asked to disable it for a specific text field on a web
page I maintain. I've seen instances where the feature does seem to be
disabled, so what is the trick to disable the browser from remembering
previous input for a specific text entry or two?

Mark
1. It depends on the user. If the user wants to do that, then the
user should be able to do that. Don't mess with the browser.
2. It depends on the browser, and if there are any plugins or
toolbars.
3. For IE, you could put autocomplete="off"... Note, however, this is
a proprietary attribute, will not pass validation and could not be
supported by that browser in the future. Googling suggests this
method does NOT work in Firefox. Opera does not even have this
feature available, so don't even bother.
4. If the user has the Google Toolbar, and that is filling in
information, you could change the names of form items to something not
common so GT would not recognize it. Again, you would be messing with
the user's browser, and that is a no, no.

My suggestion to you is to go back to whomever asked you to disable it
and tell them to stop wanting that, then state the above reasons.

Good Luck!

--
Adrienne Boswell at work
Administrator nextBlock.com
http://atlas.nextblock.com/files/
Please respond to the group so others can share

Nov 8 '07 #2
Adrienne Boswell wrote:
>
1. It depends on the user. If the user wants to do that, then the
user should be able to do that. Don't mess with the browser.
2. It depends on the browser, and if there are any plugins or
toolbars.
3. For IE, you could put autocomplete="off"... Note, however, this is
a proprietary attribute, will not pass validation and could not be
supported by that browser in the future. Googling suggests this
method does NOT work in Firefox. Opera does not even have this
feature available, so don't even bother.
4. If the user has the Google Toolbar, and that is filling in
information, you could change the names of form items to something not
common so GT would not recognize it. Again, you would be messing with
the user's browser, and that is a no, no.
Well, Your reasons are noteworthy, but inconsistent with my own
experiences. Without tweaking any browser settings, there are some text
widgets on some web pages that never remember what I typed previously
(no matter how many times I revisit that page, and yet the majority of
text widgets do "remember" what I typed previously -- even on the same
web site. So, I figured the programmer is somehow deliberately turning
off the "memory" for that text widget. What I think I am hearing is
that there is no way to turn off "memory" on a widget-by-widget basis.
Correct?

Mark
Nov 9 '07 #3
Mark <Ma**********@noaa.govwrites:
My browser "remembers" what I typed previously in text fields and
gives me a drop-list of "suggestions" as I type. I generally like
this feature, but was asked to disable it for a specific text field on
a web page I maintain. I've seen instances where the feature does
seem to be disabled, so what is the trick to disable the browser from
remembering previous input for a specific text entry or two?
The two most common ways to do this are:

(a) the non-standard autocomplete="off" attribute (applied to the form
or to individual elements);

(b) adding a random element to the input element ids.

You should think about accessibility. For some users it is a huge
plus.

--
Ben.
Nov 9 '07 #4
Ben Bacarisse wrote:
>
You should think about accessibility. For some users it is a huge
plus.
Ben, Thanks! Your info is quite useful.

For the record, this page I'm asking about is password-protected only
for the use of 3 administrators. The particular field is a payment
amount field and the administrators find it frustrating that as soon as
they type in '2' that a whole list of previously entered values starting
with 2 pops up. And this makes it prone to inadvertently entering the
incorrect payment value. The 3 administrators asked me to prevent this
drop list from appearing for this particular widget.

Mark
Nov 9 '07 #5
Adrienne Boswell wrote:
>
3. For IE, you could put autocomplete="off"... Note, however, this is
a proprietary attribute, will not pass validation and could not be
supported by that browser in the future. Googling suggests this
method does NOT work in Firefox.
Yes, it does. Mozilla added the attribute many many years ago at the
request of a major US bank. It was a condition for supporting gecko at all.
Opera does not even have this
feature available, so don't even bother.
I don't really agree than non-support of a minor browser is grounds for
dismissal.
4. If the user has the Google Toolbar, and that is filling in
information, you could change the names of form items to something not
common so GT would not recognize it.
And what about the millions who don't have the google toolbar?
My suggestion to you is to go back to whomever asked you to disable it
and tell them to stop wanting that, then state the above reasons.
The request is not really unreasonable. There are good reasons to
prevent autocomplete, even if it is an inconvenience to some users.

--
Berg
Nov 10 '07 #6
Gazing into my crystal ball I observed Bergamot <be******@visi.com>
writing in news:5p************@mid.individual.net:
Adrienne Boswell wrote:
>>
3. For IE, you could put autocomplete="off"... Note, however, this is
a proprietary attribute, will not pass validation and could not be
supported by that browser in the future. Googling suggests this
method does NOT work in Firefox.

Yes, it does. Mozilla added the attribute many many years ago at the
request of a major US bank. It was a condition for supporting gecko at
all.
I didn't know that. Good to know.
> Opera does not even have this
feature available, so don't even bother.

I don't really agree than non-support of a minor browser is grounds
for dismissal.
I was telling the OP not to bother meaning don't worry about it because
it doesn't exist. Opera has something in the user preferences that you
call fill out, and if you start typing in something that begins with
that letter or number, it can complete it. I live in Glendale, so when
I start typing G, it suggests Glendale to be filled in (that can get
kind of annoying).
>
>4. If the user has the Google Toolbar, and that is filling in
information, you could change the names of form items to something
not common so GT would not recognize it.

And what about the millions who don't have the google toolbar?
GT recognizes certain field naming conventions which it will
automatically fill in. If the fields are named something else, GT will
not automatically fill it in. I'm sure there are other toolbars/plugins
available that act in a similar manner.
>
>My suggestion to you is to go back to whomever asked you to disable
it and tell them to stop wanting that, then state the above reasons.

The request is not really unreasonable. There are good reasons to
prevent autocomplete, even if it is an inconvenience to some users.
I have a client who uses IE. A form he fills out frequently is an
account number field that accepts 8 digits. He wanted me to sort the
autocomplete list for him. He thought this was something _I_ had
programmed in, so I explained to him that it was the _browser_ doing it.

Although autocomplete="off" is not a stardard attribute, I too have used
it, in the above case in particular.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Nov 11 '07 #7
On Thu, 08 Nov 2007 20:40:22 -0000, Adrienne Boswell wrote:
3. For IE, you could put autocomplete="off"... Note, however, this is
a proprietary attribute, will not pass validation and could not be
supported by that browser in the future. Googling suggests this
method does NOT work in Firefox. Opera does not even have this
feature available, so don't even bother.
<http://groups.google.se/group/opera.wishlist/browse_thread/thread/a489fa351bb43b53/5c0877c1c279c89d#5c0877c1c279c89d>

"This:
<INPUT TYPE="password" AUTOCOMPLETE="off">
should be working now in Opera."
The "now" refers to some 7.50 beta way back in 2004.
I haven't tested it myself.
/Nisse
Nov 13 '07 #8
Scripsit Nisse Engström:
"This:
<INPUT TYPE="password" AUTOCOMPLETE="off">
should be working now in Opera."

The "now" refers to some 7.50 beta way back in 2004.
I haven't tested it myself.
Looking at Opera 9.10, I cannot see any autocomplete in action, or anything
related to such issues in the settings or help. Looks like a great way to
implement AUTOCOMPLE="off". :-) Now they just have to consider whether to
implement AUTOCOMPLE="on".

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Nov 18 '07 #9
Looking at Opera 9.10, I cannot see any autocomplete in action, or
anything related to such issues in the settings or help. Looks like a
great way to implement AUTOCOMPLE="off". :-) Now they just have to
consider whether to implement AUTOCOMPLE="on".
The only autocomplete I'm aware of in Opera (other than remembering
userid/password field) centres around the "Wand" tab in the settings of
Opera 9. I've entered a few phone numbers, a few email addresses, my
postal address and some other personal details which are all offered as
soon as I type something matching in an input field.

I'd prefer it if Opera would generalise this mechanism, so I could add
more "stuff" than what Opera anticipated, but I'm mostly happy with the
way it works.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Nov 18 '07 #10
Gazing into my crystal ball I observed Steve Swift
<St***********@gmail.comwriting in news:47******@news.greennet.net:
>Looking at Opera 9.10, I cannot see any autocomplete in action, or
anything related to such issues in the settings or help. Looks like a
great way to implement AUTOCOMPLE="off". :-) Now they just have to
consider whether to implement AUTOCOMPLE="on".

The only autocomplete I'm aware of in Opera (other than remembering
userid/password field) centres around the "Wand" tab in the settings
of
Opera 9. I've entered a few phone numbers, a few email addresses, my
postal address and some other personal details which are all offered
as
soon as I type something matching in an input field.

I'd prefer it if Opera would generalise this mechanism, so I could add
more "stuff" than what Opera anticipated, but I'm mostly happy with
the
way it works.
I use the Notes feature for this. An example is my signature at work
where I use Google Groups - no nntp access at work :(

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Nov 23 '07 #11
Adrienne Boswell wrote:
I use the Notes feature for this. An example is my signature at work
where I use Google Groups - no nntp access at work :(
If you've a HTTP proxy that supports tunneling (i.e. the CONNECT verb)
that's supposed to be used for secure connections (e.g. it may be
restricted to port 443), you may use desproxy and access nntp.aioe.org on
port 443.

http://desproxy.sourceforge.net/

Before doing so, you should ask your administrator to know if he allows
that.

--
If you've a question that doesn't belong to Usenet, contact me at
<ta*****************@yahoDELETETHATo.fr>
Nov 24 '07 #12

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

Similar topics

5
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence...
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
14
by: Patrick Kowalzick | last post by:
Dear all, I have an existing piece of code with a struct with some PODs. struct A { int x; int y; };
11
by: ypjofficial | last post by:
Hello All, So far I have been reading that in case of a polymorphic class ( having at least one virtual function in it), the virtual function call get resolved at run time and during that the...
2
by: Ian825 | last post by:
I need help writing a function for a program that is based upon the various operations of a matrix and I keep getting a "non-aggregate type" error. My guess is that I need to dereference my...
0
by: amitvps | last post by:
Secure Socket Layer is very important and useful for any web application but it brings some problems too with itself. Handling navigation between secure and non-secure pages is one of the cumbersome...
399
by: =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?= | last post by:
PEP 1 specifies that PEP authors need to collect feedback from the community. As the author of PEP 3131, I'd like to encourage comments to the PEP included below, either here (comp.lang.python), or...
12
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.