Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
laziness, impatience, and hubris
 
PerlMonks  

Re: JavaScript and form submission

by dorward (Curate)
on Nov 22, 2006 at 13:24 UTC ( #585510=note: print w/ replies, xml ) Need Help??


in reply to JavaScript and form submission

I'd approach the problem by not trying to prevent duplicate submissions, but to handle them in a smarter way.

Include an identifier in the form (using a hidden input). If a submission comes in with an identifier you've seen before, then treat it as an update to the existing data rather than new data.


Comment on Re: JavaScript and form submission
Re^2: JavaScript and form submission
by rashley (Scribe) on Nov 22, 2006 at 13:30 UTC
    No worries, with Corion's help I've got it working now.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://585510]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2013-05-25 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (520 votes), past polls