[TYPO3-mvc] Trouble with Form validation: Other field values are not restored
Frank Mey - NEW.EGO
mey_mailings at newego.de
Fri Aug 5 12:06:34 CEST 2011
Hi,
[Frank Mey]
I've got little trouble with my form validation (in the domain model):
When I submit the form, all fields are validated. If an error occurs, it's
rendered and the unvalidated fields get the error class.
So far so good :). What doesn't work: The form looses all other form field
values - I guess the errorAction isn't forwarding the POST values
of the other validated form fields. Is this the default behavior or can it
be configured ?
My "workflow" is: Controller->newAction -> Model Validation -> createAction.
So the createAction isn't called but the errorAction returns to the
NewAction, but without the POSTed other field values. Why ?
Thx 4 info,
Frank
More information about the TYPO3-project-typo3v4mvc
mailing list