Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Form input text field cache

Options
  • 02-01-2005 7:16pm
    #1
    Registered Users Posts: 884 ✭✭✭


    Form input text field cache ???

    Lads ..... i want to create a form for a site that will be used on a generic PC, (just one login for everyone) .... and i want to have a text field where the user inputs a search query but i dont want a record/history of what has been searched for before in there.

    Where is the cache stored for all of the previously searched items ?


Comments

  • Registered Users Posts: 706 ✭✭✭DJB


    i persume your talking about when you click into a text box, the browser tries to guess what your typing in, e.g. autocomplete?

    If so, drop the following bit of code into your text field and it will disable autocomplete.

    autocomplete="off"

    e.g.

    <input name="search" type="text" id="search" autocomplete="off">

    That should do what you want.

    Dave


Advertisement