Results 1 to 2 of 2

Thread: Clearing form cache

  1. #1
    Join Date
    Oct 2010

    Clearing form cache

    Hi All,

    I have a form where in the user goes and types a text in the text field. My problem is that when the user is visiting this page, the previous text that has been typed in that text box is being displayed. I donot want that to happen as that text is a sensitive issues. Can anyone provide me a solution for that.

    I tried using this code in javascript to clear the form cache but of no use. I also tried clearing the browser;s cache but of no use. Please suggest. Thanks.

    function clearForms()
    var i;
    for (i = 0; (i < document.forms.length); i++) {
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <body onLoad="clearForms()" onUnload="clearForms()">

    Also, attached is the image which you would help you in a better understanding of what I am saying.
    Attached Images Attached Images

  2. #2
    Join Date
    Apr 2003
    autocomplete="off", used on banking sites, but does not validate.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center