You are here: Re: Dirty Form Error Trapping? « PHP Programming Language « IT news, forums, messages
Re: Dirty Form Error Trapping?

Posted by Jeff North on 10/24/07 04:13

On Tue, 23 Oct 2007 10:28:59 -0400, in comp.lang.php "Shelly"
<sheldonlg.news@asap-consult.com>
<13hs19havvep5d8@corp.supernews.com> wrote:

>|
>| "Jeff North" <jnorthau@yahoo.com.au> wrote in message
>| news:uiqrh31ag7s6el5cl90vch2h9mh9e5h6af@4ax.com...
>| > On Mon, 22 Oct 2007 09:45:31 -0700, in comp.lang.php Fester
>| > Bestertester <whatmeworry@mad.net>
>| > <ffik1p$n5g$1@gondor.sdsu.edu> wrote:
>| >
>| >>| Greetings,
>| >>|
>| >>| I'm an occasional php/mysql dabbler.
>| >>|
>| >>| I have a basic data form with a submit button. Unfortunately, it's still
>| >>| possible for the user to enter data changes and close the window,
>| >>| without clicking the submit button, thus losing the data.
>| >
>| > I would be asking why the users are doing this then find a solution.
>| >
>| >>| Can someone point me to a generic example of some code that will trap
>| >>| and handle this error?
>|
>| A "submit" button on a form has a reason for existence. There have been
>| MANY times that I have entered data on a form and changed my mind before
>| "submit"ing. I simply closed the window and all was gone! That is the
>| EXPECTED behavior.

I agree. We've all done that at one time or other.

>| If a user is annoyed that this happened, then he should
>| learn how to use his computer!

Not necessarily so. The next button could be too close to the close
button and people are accidentally clicking the close button. Making
the next button slightly bigger (an easier target) would solve the
problem.

>| If data are to be entered whether or not he
>| clicks the "submit" button, then by all means get rid of that button!
>|
>| Simply put, I totally disagree with the use of the word "Unfortunately".
>| Rather, I would have said "dammit" (or worse!) if the data had actually been
>| entered when I closed the window without clicking "submit".
>|
>| Shelly
>|
-- -------------------------------------------------------------
jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
-- -------------------------------------------------------------

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация