[TYPO3-mvc] Feed Form with latest values after validation has failed.
me at henjohoeksma.nl
Wed Feb 22 23:43:05 CET 2012
Maybe someone knows of a solution?
Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.
On Wed, Feb 22, 2012 at 15:41, Martin Ernst <ernst at alto.de> wrote:
> I wrote some own validators that are used to validate whole objects on
> different update controllers. They work as expected: if validation fails,
> the user returns to the form and sees validation errors.
> But: the form is prefilled with the old values that were stored in the
> object before editing started. So if the user changes for example three
> values, and one of the changes makes validation fail, then ALL changes are
> gone, the original object's values are shown in the form.
> This is very annoying, so I need a way to present the latest input values
> in the form after validation has failed.
> The form itself is built with fluid viewhelpers. The fields are bound to
> object propertyies.
> Any help is very much appreciated. Greetings
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc@**lists.typo3.org<TYPO3-project-typo3v4mvc at lists.typo3.org>
More information about the TYPO3-project-typo3v4mvc