Project

General

Profile

Actions

Feature #70384

closed

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

Added by Viktor Livakivskyi over 8 years ago. Updated about 4 years ago.

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/


Related issues 3 (2 open1 closed)

Related to TYPO3 Core - Feature #77025: f:form: Disable referrer informationNew2016-07-11

Actions
Related to TYPO3 Core - Bug #97647: Forward to referring controller causes Property Mapping exceptionNew2022-05-17

Actions
Related to TYPO3 Core - Bug #89434: Action argument values will get lost on validation errorClosedAlexander Schnitzler2019-10-16

Actions
Actions

Also available in: Atom PDF