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
_______________________________________________
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