|
-
Jan 17th, 2004, 02:56 PM
#1
Thread Starter
Stuck in the 80s
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.
-
Jan 19th, 2004, 04:48 AM
#2
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.
-
Jan 19th, 2004, 09:11 AM
#3
Thread Starter
Stuck in the 80s
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.
-
Jan 19th, 2004, 09:39 AM
#4
Fanatic Member
this never happens to me in IE, perhaps its something to do with default values. Is this page live so i could test it?
-
Jan 19th, 2004, 11:29 AM
#5
Thread Starter
Stuck in the 80s
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.
-
Jan 19th, 2004, 01:28 PM
#6
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.
-
Jan 19th, 2004, 02:22 PM
#7
Thread Starter
Stuck in the 80s
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...
-
Jan 19th, 2004, 02:36 PM
#8
Thread Starter
Stuck in the 80s
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|