[TYPO3-mvc] Trouble with Form validation: Other field values are not restored

Miguel Ayala miguel at socio1.de
Mon Aug 8 00:33:22 CEST 2011


Hello Frank,
did you solve this problem?
cheers

On 08/05/2011 12:06 PM, Frank Mey - NEW.EGO wrote:
> 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
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


More information about the TYPO3-project-typo3v4mvc mailing list