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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ojasrege@yahoo.com

    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?

  • Bergamot

    #2
    Re: anyway to programatically disable autocomplete for Firefox andIE for specific form fields?

    ojasrege@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

    Comment

    • Brendan Gillatt

      #3
      Re: anyway to programatically disable autocomplete for Firefox and IE for specific form fields?

      On Wed, 25 Jul 2007 17:08:32 -0700, ojasrege@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="ssecurity number284625" />

      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

      GPG: 0xBACD7433

      Comment

      • Ben Bacarisse

        #4
        Re: anyway to programatically disable autocomplete for Firefox and IE for specific form fields?

        Brendan Gillatt <brendan@brenda nREMOVETHISgill att.co.ukwrites :
        On Wed, 25 Jul 2007 17:08:32 -0700, ojasrege@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="ssecurity number284625" />
        >
        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.

        Comment

        Working...