Re: Reset / clear button on a web form

26 May 2005 - 12:54am
9 years ago
1 reply
587 reads
Navneet Nair
2004

Interestingly AJAX and reset when used in combination does create a
few problems, especially on IE. Our developers faced this when we
implemented AJAX based saving of forms for our application, the reset
button would work fine on Mozilla, but failed on IE. The reason was
the way the two browsers treat setAttribute("value"). IE as expected
behaves in a very non-conformant way and thus breaks the reset
function, and the form gets reset to a previous history instead of the
last saved data. I do not think there is a workaround for this as of
now, so the only solution was to remove the rest button altogether...

Cheers
Navneet

On 5/26/05, LukeW <luke at lukew.com> wrote:
> [Please voluntarily trim replies to include only relevant quoted material.]
>
> This topic came up at the AJAX Summit 2 weeks ago [1]. Consider the
> situation where AJAX is utilized to auto-save the contents of a Web
> form as a user enters it. This potentially useful interaction (esp.
> with extensive or important data entry in multi-tasking environments)
> requires that a user can say "remove the data I just entered from
> storage." Interestingly, the topic of "do we need a submit button if
> data is saved on the server in real time?" also came up. The
> consensus was users still need it due to established conventions and
> their desire for verification.
>

----------------------------------------------------
Navneet Nair
Interaction Architect
onClipEvent: form follows function();
----------------------------------------------------
Website: http://www.onclipevent.com
Blog: http://www.onclipevent.com/enterframe/

Comments

26 May 2005 - 2:01am
Ischai Cohen
2005

My opinion is that there is no need to set a reset of cancel button.
It'll be as annoying just like those cases in boards games where just
before the last stage you get thrown 4 steps back. If we're on the
subject - an advice: If it is a webbased application, make sure that by
auto-refresh of some kind that the contant isn't erased. I had this
mistake once when desinging an application form, which while you entered
text, the page would reset itself. Very bad move, but I learned since
then ;>
Yishay cohen

Syndicate content Get the feed