in reply to cgi.pm reset button question

The HTML specification does not have a mechanism for a "reset" button to have an image graphic. Thus, any solution offered you here is likely to be non-portable.

Please also consider the advice of experts that a "reset" button that is likely in any way to be confused with a "submit" button is also very very user-unfriendly and dangerous. In fact, I can't recall seeing a "reset" button on any recently designed big-boys web pages, so apparently the advice is being followed.

"Reset buttons are soooo mid-90's". {grin}

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: •Re: cgi.pm reset button question
by Anonymous Monk on Apr 09, 2004 at 11:03 UTC
    Actually, you've made me rethink the whole issue. Your advice is sound and makes complete sense, I'm gonna get rid of the reset buttons.

    Many Thanks,
    Jonathan

Re: •Re: cgi.pm reset button question
by aquarium (Curate) on Apr 09, 2004 at 10:39 UTC
    yeah....the whole idea of a reset button was someone thinking not quite right. why would anyone in their right mind answer half a form or more wrongly, to require a reset button? good riddens reset button idea.
      You're not considering all of the different ways in which a form can be used. Not all forms are simple "type in your name and address" sorts of things. The form might be displaying some complex data that the user is expected to edit, and a Reset button can save you a roundtrip to the server (and therefore be a lot faster, and improve the user's perception of the responsiveness of the page or application).

      Since I don't know what sort of form the original question is regarding, I won't venture to guess whether a Reset button makes sense in this case.

      Linda