Feature #2817

Provide safeguard for preventing multiple submits of a form

Added by Robert Lemke over 12 years ago. Updated almost 8 years ago.

Needs Feedback
Should have
Target version:
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
Has patch:


We need a mechanism which prevents the user from accidentally submitting a form multiple times. This should be handled both on the client and on the server side.

On the client side a simple JavaScript will check if the form has been submitted and if so displays a message if the user tries to submit it a second time.

On the server side some hash which is unique to that rendered form should be checked to figure out if that particular form instance is already being processed.

Related issues

Related to TYPO3.Flow - Feature #4960: There should be a Request hash check when objects are modifiedResolvedSebastian Kurfuerst2009-10-09

Has duplicate TYPO3.Flow - Feature #2818: Provide safeguard for preventing multiple submits of a formClosed2009-03-10


Updated by Robert Lemke over 12 years ago

  • Target version set to 283

Updated by Robert Lemke about 12 years ago

  • Target version deleted (283)

Updated by Bastian Waidelich almost 8 years ago

  • Status changed from New to Needs Feedback
  • Has patch set to No

IMO this is not the responsibility of the framework as we can't know for sure whether a request is idempotent or not. Besides this would violate the "stateless" principle of HTTP.
Usually a simple solution is to disable the form on submit via JavaScript.

Also available in: Atom PDF