You could also just check that the form fields are not empty when processing
the form.. or put the submit button *after* all of the fields.

Javascript is too breakable to rely on for process intensive things... also,
what happens if someone uses the site with javascript turned off? The form
will be completely unusable.

On 10/2/07, Urb LeJeune <[EMAIL PROTECTED]> wrote:
>
>         Had a client who twice lost existing content while making a change
> using a CMS. Turns out the problem was they he was using a DSL line
> and he made a change and hit the "Submit Changes" button before the
> page had fully downloaded. Needless to say the undownloaded textarea
> fields were empty and were written to the DB.
>
>         Is there a way to disallow a form submit before the entire form
> has downloaded?
>
>         Thanks
>
> Urb
>
> Dr. Urban A. LeJeune, President
> E-Government.com
> 800-204-9545
>
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to