Actions
Feature #70384
closedMake it possible to redirect (instead of forwarding) to referring action on validation error
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2015-10-05
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.6
Tags:
Complexity:
Sprint Focus:
Description
When a validation error happens during form submission, the errorAction() forwards request to a previously called action and provides validation results to be shown and used on Fluid form.
However, when a form consists of multiple steps and each step is located on different page this leads to a problem: a page of next step is shown (all the surrounding CEs of next step are there), but the form from a previous step is displayed.
It would be helpful to have a possibility to redirect() to a previous step and preserve validation errors as well as user input.
I have tried to do it on my own, and found some solution for 2-step forms. However, for 3- and more steps this will fail.
https://forum.typo3.org/index.php/t/212078/
Actions