NYCPHP Meetup

NYPHP.org

[nycphp-talk] Delaying form submit

Ben Sgro ben at projectskyline.com
Sun Jan 20 11:16:14 EST 2008


Hello Urb,

I believe this came up a few months ago, and one of the answers was
setting a variable at the END of the form. You could then check for the 
existence
of this variable, and if found, assume the form has been loaded.

You might be able to use something like jquery to check that each form 
element
is contained within the page, and to not submit the form if any are missing.

Jquery has awesome DOM traversing abilities and is a pleasure to work 
with VS javascript.

- Ben

Urb LeJeune wrote:
> This pertains to a CMS but the effect can be seen in PHPmyAdmin.
>
> If the form is large and someone click on Submit before the form has
> fully downloaded the contents in the unloaded portion are truncated.
>
> Does anyone have a suggest of a way to not allow a submit until the
> entire form has downloaded?
>
> Thanks
>
> Urb
>
> Dr. Urban A. LeJeune, President
> E-Government.com
> 609-294-0320  800-204-9545
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> E-Government.com lowers you costs while increasing your expectations.
>
>
> _______________________________________________
> 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
>



More information about the talk mailing list