Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Form input text field cache

  • 02-01-2005 07:16PM
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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