Live data from Hacker News

Dear Internet: Take the reset buttons off your damn forms

f00li5h.pin21.com

71–78 of 78 posts

Re: Dear Internet: Take the reset buttons off your damn forms

#71
A good point, one that needs paying attention to.

> There are lots of guides on website usability, go and find one for yourself.

... some of which should tell you that having an automatically scrolling display right next to something you (supposedly) want people to read, is a bad idea.

Re: Dear Internet: Take the reset buttons off your damn forms

#72

A similar annoyance is writing a well-thought out forum post, pressing submit, and being told in some way that your session has expired. Some sites you can go back to retrieve your post, others will just present you with a newly empty form.

I've actually been conditioned so thoroughly by flaky forum software to ctrl-a-c on every post before submit that I don't even think about it and sometimes I'm surprised when I paste later and get whacked with a giant forum post.

I also do this. Not just on forums, but on pretty much anything where I write a decent amount of text. I also use a clipboard manager in conjunction with this habit (http://itunes.apple.com/us/app/clipboard-history/id420939835...) that has saved my ass numerous times.

Re: Dear Internet: Take the reset buttons off your damn forms

#73
post #48

Earlier quoted context omitted.

What in the interface tells you that navigating away from the page will not submit the data? Perhaps instead of reset a "do not submit" button is required. But then if I changed my mind about what I'm writing but still want to send a message things get a little lame. How can you tell for example that going back doesn't instead save the comment as a draft (like the SMS interface on my [pretty old] Sony Ericcson phone)…

browsers don't save things by default. that's how they are. the thing in the interface that tells you that you're looking at a browser is up to you... in my mind, the address at the top, starting with http:// is the part of the UI that says my changes will be thrown away... this is kinda why i'm miffed that there is an explicit "throw my changes away" button, when that's the default behaviour

>"browsers don't save things by default."

// Depends on your browser.

Re: Dear Internet: Take the reset buttons off your damn forms

#74
post #66

Earlier quoted context omitted.

I'm assuming this is levelled at HN? It's probably the only forum I use regularly where I get timeout's on submission. And the timeout page isn't even friendly either.

HN (and trac) handle the situation best: they don't invalidate the page data, so your post will still be there. You CTRL/CMD A+C then get back to your posting with a refreshed cookie/session. Many other forums basically wipe out your post, which is highly frustrating.

I Ctrl+R and FF refills the form data.

Re: Dear Internet: Take the reset buttons off your damn forms

#75
post #2

I don't think I've seen a reset button in a while. Does anyone still use them?

I only experience them on government and bank websites.

I can see how some naïve users might want the extra-confirmation that they are cancelling this action – but I there's not reason for them to be visually similar and positioned almost next to each other.

Re: Dear Internet: Take the reset buttons off your damn forms

#76

A similar annoyance is writing a well-thought out forum post, pressing submit, and being told in some way that your session has expired. Some sites you can go back to retrieve your post, others will just present you with a newly empty form.

I've actually been conditioned so thoroughly by flaky forum software to ctrl-a-c on every post before submit that I don't even think about it and sometimes I'm surprised when I paste later and get whacked with a giant forum post.

I have dealt with this a number of times, and any time I think I am going to write a comment that is more than a few lines long and has any real significance to me, I do it in a word processor or full text editor where I can easily review it and spell check it before posting.

Re: Dear Internet: Take the reset buttons off your damn forms

#77

Good example of implementing a feature because it's easy to do, rather than because it has real utility. Why it's part of the HTML form spec I don't know. Was it ever useful?

The actual button isn’t particularly useful but the DOM interface is. Firefox (and other browsers?) cache DOM entries in certain situations. This is useful if you refresh the page accidentally with a half completed comment in a text box, but less useful if you’re building a complicated webapp that assumes an initial state. A simple document.forms[0].reset() at the top of your code works wonders.

Oh wow, I never thought to use this this way.

Re: Dear Internet: Take the reset buttons off your damn forms

#78
post #48

Earlier quoted context omitted.

browsers don't save things by default. that's how they are. the thing in the interface that tells you that you're looking at a browser is up to you... in my mind, the address at the top, starting with http:// is the part of the UI that says my changes will be thrown away... this is kinda why i'm miffed that there is an explicit "throw my changes away" button, when that's the default behaviour

>" browsers don't save things by default. " // Depends on your browser.

when "submit form" and "save" are the same action, it doesn't depend on browser...

keeping it in cache/locally/whatever is not "saving".

Post reply on HN