Results 1 to 8 of 8

Thread: HTML: Form fields reset in IE?

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    HTML: Form fields reset in IE?

    In an application I'm writing in PHP, a user will fill out one of many forms. Depending on what he put in those form fields, he may get an error (such as 'Subject must be more than 2 characters, please go back.'), however, when I hit the back button, all the fields are erased or go back to their initial value.

    I'm using IE to develop this, and it just started happening recently. No other webpages do this, so I was wondering if there's something I did to cause it to reset the form information.

    If seeing HTML source code would help, let me know. Thanks in advance.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I think that's IE's default behavior. Just another reason why I prefer Mozilla.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by CornedBee
    I think that's IE's default behavior. Just another reason why I prefer Mozilla.
    I've never noticed it before. That's uncool.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727
    this never happens to me in IE, perhaps its something to do with default values. Is this page live so i could test it?

  5. #5

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by davebat
    this never happens to me in IE, perhaps its something to do with default values. Is this page live so i could test it?
    I've never noticed it before, either, but maybe I don't pay attention.

    When I get home from school, I'll post a live page that illustrates the example, and I'll test it in other browsers and such to see if it's just IE, or it's just me, or what.

    Thanks for your help.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I experienced it quite often on this very forum back when I used IE.

    How I hated it when my long essays simply disappeared because the edit field didn't have focus and I pressed backspace...
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  7. #7

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Hmm...now that I'm trying to make an example to reproduce the problem, it doesn't do it. Only within the context of my application does it do it...
    My evil laugh has a squeak in it.

    kristopherwilson.com

  8. #8

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    I just checked a previous version of my application, and it doesn't have this problem. You can check it out here: http://www.vbshelf.com/news/index.php

    What I did was post something, then hit the back button, and the fields were still filled out, using IE6.

    However, in the new release I'm working on, when you hit back, it erases the fields. So it must have been something I changed since then, but I can't figure out what it is...
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

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



Click Here to Expand Forum to Full Width