Problem with the browser stored data (form fields)!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kvijayhari
    New Member
    • Jul 2007
    • 24

    Problem with the browser stored data (form fields)!

    hi

    i'm having a form in which a text field has a js function which lists the name of the customer by searching the letters typed in the field.. (like the one on gmail mail to column)

    The js funtion is working well and there's no problem until i activated the store data options in the browser.

    Once i use the forms the data entered before in the form fields are stored by the browser and they are gets listed over the div that is listed by the invoked js function. i want to restrict the browser not to list the stored form data for that field or even restrict the storage of data for that particular field..

    Can anyone help on this?
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, kvijayhari.

    What do you want your code to do? Give an example.
    What is your code doing that you don't want it to do? Give an example.
    What is your code *not* doing that it is supposed to? Give an example.

    Comment

    • kvijayhari
      New Member
      • Jul 2007
      • 24

      #3
      hi

      Originally posted by pbmods
      Heya, kvijayhari.
      What do you want your code to do? Give an example.
      My code does what i want to. (i.e) displaying a div with the names of the matched entries when i type the characters in the search box...

      Originally posted by pbmods
      What is your code doing that you don't want it to do? Give an example.
      The code is not doing anything differently...

      Originally posted by pbmods
      What is your code *not* doing that it is supposed to? Give an example
      Here's the question i should answer. I've set the options in the firefox browser

      "Remember what i enter in the forms and search bar" ... this is causing the issue..

      once my code lists the names, i used to click any one of the names to set them in the specific field (the same field where i enter the characters for searching)..

      Now again i'm visting the same page then i enter some characters in the same field ,, now comes the problem, the stored data which is done by the option set by me in the browser is displayed over the div which is displayed bcoz of my code..

      I think u got it clear now ..

      Now what i want is i want to restrict the browser from displaying the stored form data for that particular field.. or even not to store the data for that form field..

      Comment

      • kvijayhari
        New Member
        • Jul 2007
        • 24

        #4
        hi

        anybody there to answer this post i still looking for the answer..

        please

        Comment

        • gits
          Recognized Expert Moderator Expert
          • May 2007
          • 5388

          #5
          hi ...

          may be the attribute:

          autocomplete="o ff"

          is of some help? you may set it to the entire form or specific input-fields ... please tell me if this is working ... because i never tried it ;)

          kind regards

          Comment

          • kvijayhari
            New Member
            • Jul 2007
            • 24

            #6
            Originally posted by gits
            hi ...

            may be the attribute:

            autocomplete="o ff"

            is of some help? you may set it to the entire form or specific input-fields ... please tell me if this is working ... because i never tried it ;)

            kind regards
            Hi

            it's working nicely!! thanks.. What a simple attribute i missed out..

            I looked for the options for the AUTOCOMPLETE thru google and some sites suggest that we can use that but couldn't rely on..

            I don't know reason behind that..

            Any way it's working nice..

            Thanks for helping

            Comment

            • gits
              Recognized Expert Moderator Expert
              • May 2007
              • 5388

              #7
              hi ...

              glad you got it working ... but i think too ... that older browsers don't support this attribute. may be you find out which browsers that may be and if that might be a problem ...

              kind regards

              Comment

              • acoder
                Recognized Expert MVP
                • Nov 2006
                • 16032

                #8
                Originally posted by kvijayhari
                Hi

                it's working nicely!! thanks.. What a simple attribute i missed out..

                I looked for the options for the AUTOCOMPLETE thru google and some sites suggest that we can use that but couldn't rely on..

                I don't know reason behind that..

                Any way it's working nice..

                Thanks for helping
                The reason might be that autocomplete is not a standard attribute, but I think it is supported by most modern browsers (though I haven't checked).

                Comment

                Working...