[nycphp-talk] Premature submit
tedd
tedd at sperling.com
Wed Oct 3 08:42:24 EDT 2007
At 9:00 PM -0400 10/2/07, Urb LeJeune 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
Urb:
I don't understand the download problem, but the rest can be done via
javascript. Please review this:
http://webbytedd.com/c/form-submit/
If you use js to check client-side before submitting server-side,
then by definition it would require the entire form (required fields)
to be downloaded and filled out before sending.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
More information about the talk
mailing list