Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#179580 - 17/09/2003 08:11 Retaining form entries
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
I have a question about IE and forms.

Sometimes when I enter data into a bunch of fields, then do something like click the submit button or even another link to go to another page, I can simply click on the back button and the data will still be entered into the forms.

Then sometimes, it will all magically disappear.

Is there anything that dictates how this behaves, or is this an IE annoyance?
_________________________
Matt

Top
#179581 - 17/09/2003 10:10 Re: Retaining form entries [Re: Dignan]
Anonymous
Unregistered


when the page is refreshed the forms are cleared.

Top
#179582 - 17/09/2003 11:12 Re: Retaining form entries [Re: Dignan]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
I get the same thing, and I agree, it's really irritating.

Sometimes it saves the form data and it's still there when I hit "Back", and sometimes it doesn't, and I have to fill the form out all over again from scratch if I hit "Back".

It's especially irritating when, say, the form is a 500-word BBS post, and something goes wrong when I hit submit, and so I have to do it all over again because IE forgot what I'd typed. GRRRRRR.
_________________________
Tony Fabris

Top
#179583 - 17/09/2003 11:16 Re: Retaining form entries [Re: tfabris]
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
i like to copy my text into notepad before i submit. that way i always have a backup.

Top
#179584 - 17/09/2003 11:17 Re: Retaining form entries [Re: RobotCaleb]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
Yeah, I usually type up my posts in some other editor before hand unless it's a quick response like this one.
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#179585 - 17/09/2003 11:26 Re: Retaining form entries [Re: ricin]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Oh yeah, I know the "paste from UltraEdit" dance well.

It's just that I have to do it so rarely that when I get caught off guard by a failed form submission and I didn't have it all in an editor, then it really pisses me off.
_________________________
Tony Fabris

Top
#179586 - 17/09/2003 11:32 Re: Retaining form entries [Re: tfabris]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Two habits i've grown to do ALWAYS.

1. If it's a bunch of fields i've just filled out, i always do a ctrl-N and submit from the new window, so if somethign gets wonked, i have the original page still with all the info.

2. If it's a forum entry like this, ctrl-a then ctrl-c before i submit. If it gets hosed i can just go back and do a paste.

Saved many headaches.
_________________________
|| loren ||

Top
#179587 - 17/09/2003 11:37 Re: Retaining form entries [Re: loren]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
i always do a ctrl-N and submit from the new window
Interesting. Didn't know I could do that ctrl-N and have the text there in the new window.

Oh, I just tried that. The text I've typed in the form and the selections do not show up on the new window copy. So I'd essentially have to fill out the form twice anyway.
_________________________
Tony Fabris

Top
#179588 - 17/09/2003 11:42 Re: Retaining form entries [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
It's especially irritating when, say, the form is a 500-word BBS post, and something goes wrong when I hit submit, and so I have to do it all over again because IE forgot what I'd typed.
Of course, it'd be nice if the BBS itself would remember that data for you and represent it instead of giving you just a bland error message.
_________________________
Bitt Faulk

Top
#179589 - 17/09/2003 11:50 Re: Retaining form entries [Re: Dignan]
Ezekiel
pooh-bah

Registered: 25/08/2000
Posts: 2413
Loc: NH USA
I had a new but annoying forms issue yesterday when looking at flights. The first page where I entered the dates & airport codes retainied the _very first_ entries no matter how many subsequent searches I did. Like this:

First inquiry: MHT-YVR Feb 21-28.
Look at flights, go Back.
Original MHT-YVR Feb 21-18 shows in the forms.
Change flight to BOS-YVR Feb 21-28.
Look at flights & prices, go Back to change to BOS-YVR Feb 21-29.
Original MHT-YVR Feb 21-18 in the forms.

No matter how many times I revised my flights it defaulted to my 1st entry!

I know it was probably a cookie, but that is some damn poor programming for a high traffic site (it was one of the majors, Northwest or the like).

I wonder how many erroneous bookings happen because of this.

-Zeke
_________________________
WWFSMD?

Top
#179590 - 17/09/2003 11:51 Re: Retaining form entries [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Usually, the problems I have are between me and the BBS. Say, the internet connection went down or something. So the BBS never even got the data I typed in and it can't be blamed for forgetting something it never got sent. Even if it was the BBS screwing up, then it was a software error on the BBS and of course, the programmers didn't expect that error to happen so of course they didn't save off the data.
_________________________
Tony Fabris

Top
#179591 - 17/09/2003 12:02 Re: Retaining form entries [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Sometimes I forget to put a subject on an initial post. One of my recent long ones was like that. If that happens, the BBS says, effectively ``What?'' and forces you to hit the back arrow and you takes your chances when that happens. I got lucky this most recent time. Other times I've just aborted the post.
_________________________
Bitt Faulk

Top
#179592 - 17/09/2003 12:14 Re: Retaining form entries [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Ah, gotcha.
_________________________
Tony Fabris

Top
#179593 - 17/09/2003 12:58 Re: Retaining form entries [Re: Ezekiel]
djc
enthusiast

Registered: 08/08/2000
Posts: 351
Loc: chicago
I know it was probably a cookie, but that is some damn poor programming for a high traffic site (it was one of the majors, Northwest or the like).
I'm sure it was Northwest. I was the manager of the development team for that site, until March of this year. We must have had six bugs in our bugtracker that came and went regarding IE's mysterious handling of form data. It was completely unpredictable as to when a user could hit the back button and expect to see their form data intact, or when IE would decide to clear it out. And no, d33zY, it had nothing to do with refreshes.

We spent a disproportionate amount of time trying to track down and fix this particular bug, as it was seen as a big annoyance by the users. We tested many, many combinations of options in various combinations of IE releases and OS's. In the end, we could not find a rational explanation for IE's behavior, so we implemented a workaround that attempted to manually force the form elements to be set, based on cookie data. It did help in some cases, but in others, you'd get the behavior you reported (old search items being set in the form fields). It was a lose-lose situation.

I wonder how many erroneous bookings happen because of this.
About as many as you'd expect, and our development team had to help provide research data to support the customer service department in handling refund claims. Not an efficient structure, but we were at the mercy of the airline's will with this one.

It's now six months since I've left, and it sounds like the problem hasn't been solved yet. Perhaps they decided to punt, and simply accept the higher support costs.

--dan.


Top
#179594 - 17/09/2003 13:00 Re: Retaining form entries [Re: tfabris]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Oh, I just tried that. The text I've typed in the form and the selections do not show up on the new window copy. So I'd essentially have to fill out the form twice anyway.
WTF. I could SWEAR this worked. What am i thinking of then... weird.... yeah, so scratch that idea. heh. . . maybe i do this for some other app..
_________________________
|| loren ||

Top
#179595 - 17/09/2003 15:13 Re: Retaining form entries [Re: djc]
Anonymous
Unregistered


And no, d33zY, it had nothing to do with refreshes.


Well it does for my version of IE. As an experiment, go to Tools>>>Internet Options>>>General Tab>>>"Settings" in Temporary Internet Files>>>>And change "check for newer versions of stored pages" to Never. Then fill out a BBS reply and before you hit submit go browse some other sites for a few minutes, and then hit Back until you get back to your untouched form.

The reason IE clears the forms sometimes when you hit the back button, is because sometimes it uses the cached version of the page, and sometimes it downloads an updated version. Perhaps it relies on a timeout. I don't know.

Top
#179596 - 17/09/2003 15:16 Re: Retaining form entries [Re: ]
Anonymous
Unregistered


Also, if you preview your post before you try to submit it, then the post is stored in your browser cache. So even if the form gets screwed up, you can find the preview page.

Top
#179597 - 17/09/2003 15:30 Re: Retaining form entries [Re: ]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
That's certainly one reason. He's saying there are other reasons that affected him.
_________________________
Bitt Faulk

Top
#179598 - 17/09/2003 16:17 Re: Retaining form entries [Re: tfabris]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
This issue has effected me several times on the BBS (usually on long posts), and I regularly use the suggestions that Loren made (though I wish his second suggestion worked, it would be a nice work-around). But that's not what prompted the post.

I've been working in phpMyAdmin to add concert dates for my website for that saxophonist, and since many entries (month, year, opening act, group) stay the same for many entries, it would have been nice to keep them and change what I needed. Copying and pasting all that probably wouldn't improve speed very much (and you'd probably get repetative stress from all the Alt+Tabbing and Ctrl+whatever ).

So I guess it'll just be something I get used to. Another instance was when I was working from the admin page I created for said website. I have several links that bring up popup windows for me to add various entries. I had been under the impression that these links had _blank targets, but low and behold, in the midst of writing up an extremely long entry, I clicked on another link to check some info, and it opened in the popup with my entry in it.

You know those moments where you've been working on something for a long while, it gets suddenly wiped out, and you just give up, walk away, and do it later? I hate that. It's like mixing video games with blackouts.
_________________________
Matt

Top
#179599 - 17/09/2003 16:28 Re: Retaining form entries [Re: Dignan]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
You know those moments where you've been working on something for a long while, it gets suddenly wiped out, and you just give up, walk away, and do it later? I hate that. It's like mixing video games with blackouts.
Agreed. And, good analogy.
_________________________
Tony Fabris

Top
#179600 - 17/09/2003 16:55 Re: Retaining form entries [Re: Dignan]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Man... That must take you ages. If you've got shell access then just make a text file with all of the SQL commands you want and then use the mysql command

Top
#179601 - 17/09/2003 19:21 Re: Retaining form entries [Re: djc]
Ezekiel
pooh-bah

Registered: 25/08/2000
Posts: 2413
Loc: NH USA
djc - Damn, small world! That must have been a frustrating experience as I'm sure there was no shortage of people saying "Well gee, (insert major airline here) can do it right, why can't you?".

I'd go nuts if I were a programmer.

-Zeke
_________________________
WWFSMD?

Top
#179602 - 17/09/2003 22:27 Re: Retaining form entries [Re: Dignan]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
Yet another benefit of switching to Firebird, not having to deal with IE and its selective memory.

Top
#179603 - 17/09/2003 23:40 Re: Retaining form entries [Re: tman]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
Man... That must take you ages. If you've got shell access then just make a text file with all of the SQL commands you want and then use the mysql command
It wasn't too many entries, but that's actually a great idea. I should have done that. It wouldn't have been too bad.
_________________________
Matt

Top
#179604 - 18/09/2003 01:40 Re: Retaining form entries [Re: Dignan]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
Yeah, and you don't even need shell access to do it. You can use phpMyAdmin and either upload the file (it can be just csv if you want) or just paste the sql query in the form.
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#179605 - 18/09/2003 08:32 Re: Retaining form entries [Re: ricin]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12341
Loc: Sterling, VA
Yeah, I love phpMyAdmin. That's how I set up the database tables in the first place. Exporting the tables simply creates a text file in the format of MySQL queries for inputing the data back in. Very easy to do.
_________________________
Matt

Top