Form wouldn't referesh.

Discussion in 'HTML & Website Design' started by mahmood, Jan 22, 2007.

  1. #1
    For the purpose I this question I have created a simple html file with a textbox. Lets say I enter a string in the text box and submit the form. Now when I click back button and return to the page the string is still there and no matter how many times I click refresh button it wouldn't clear. Also I mustn't use the reset button because it cause problem in real script.

    By the way, I have already set the browser to check for the "newer version of the page every time I visit the page."
     
    mahmood, Jan 22, 2007 IP
  2. tenfourstudios

    tenfourstudios Peon

    Messages:
    108
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    So something like:
    <input type="reset" value="Reset" />
    HTML:
    isn't working for you?
     
    tenfourstudios, Jan 22, 2007 IP
  3. angielski

    angielski Peon

    Messages:
    57
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The only way to obmit this is to name fields differently every impression (ie using php random and adding hidden field with the name)
    It's good solution in my opinion if you know basics of php
     
    angielski, Jan 23, 2007 IP
    mahmood likes this.
  4. intothemiddle

    intothemiddle Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Setting your own browser to find a new version of the page every time wont help anyone but yourself to get past the problem.

    How does reset cause a problem in 'real' script??

    Think we'd all need more details to help further!
     
    intothemiddle, Jan 24, 2007 IP