Issue Feature Closed

#70384Make it possible to redirect (instead of forwarding) to referring action on validation error

Viktor Livakivskyi 10/05/15, 15:34 updated 03/19/20, 16:58

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/

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.