90160[DOCS] Improve FAQ about duplicate form submission
Commit message
Review
-
Code review CR +2 Done
- Andreas Kienast +2
- Christian Osswald +1
- Sven Liebert +1
-
Verified V +2 Done
- Andreas Kienast +2
- Sven Liebert +1
- core-ci +1 CI
Issues 2
Files 1
Review log 1923
-
Josua Vogel uploaded patch set 1 07/25/25, 14:31
-
core-ci voted on patch set 1 V +1 07/25/25, 14:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82323
-
Simon Schaufelberger commented on patch set 1 07/25/25, 15:03
-
Josua Vogel uploaded patch set 2
V +107/25/25, 15:06 -
Josua Vogel commented on patch set 2 07/25/25, 15:06
Index.rst:116ReplyDone -
core-ci voted on patch set 2 V +1 07/25/25, 15:13 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82327
-
Sven Liebert voted on patch set 2 CR +1 V +1 07/25/25, 17:28
-
Oliver Klee voted on patch set 2 CR +1 07/26/25, 11:25
-
Andreas Kienast commented on patch set 2 07/28/25, 12:00
Pardon my ignorance, I have one question here. The example code snippet listens on the `submit` event and disables the submit button once the event is dispatched (probably to avoid submitting the same form multiple times). Isn't the event dispatched once the form has been submitted already and thus all data was sent? Disabling a field _after_ the submission cannot have an effect on the submitted payload retroactively. -
Josua Vogel commented on patch set 2 07/28/25, 14:33
Reply
No, the submit has not yet been executed. The event can be used to prevent a submit or to manipulate/validate the form data before the request is sent. -
Andreas Kienast commented on patch set 2 08/01/25, 09:31
Reply
Of course, you're absolutely right. My bad. -
Andreas Kienast commented on patch set 2 08/01/25, 10:00
Index.rst:118I opt to include a CSS sample that applies styling to the class `.submitted`. With the old snippet, the button is technically _and_ visually disabled, the latter one is missing with the new approach. -
Josua Vogel uploaded patch set 3
CR +1V +108/01/25, 10:18 -
Josua Vogel commented on patch set 3 08/01/25, 10:19
Index.rst:118ReplyDone -
Sven Liebert voted on patch set 3 CR +1 V +1 08/01/25, 10:22
-
Oliver Klee voted on patch set 3 CR +1 08/01/25, 10:23
-
core-ci voted on patch set 3 V +1 08/01/25, 10:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82625
-
Josua Vogel commented on patch set 4
CR +1V +108/01/25, 12:52Published edit on patch set 3. -
core-ci voted on patch set 4 V +1 08/01/25, 12:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82635
-
Sven Liebert voted on patch set 4 CR +1 V +1 08/04/25, 07:31
-
Christian Osswald voted on patch set 4 CR +1 08/07/25, 19:16
-
Andreas Kienast voted on patch set 4 CR +2 V +2 08/11/25, 12:52
-
Andreas Kienast merged patch set 5 08/11/25, 13:27
Index.rst:116