[TYPO3-mvc] Working with input-fields but without saving to DB
Marc Bastian Heinrichs
typo3 at mbh-web.de
Mon Aug 15 10:55:59 CEST 2011
Hey,
> I have to create a form to calculate the BMI and some other things.
> I want to use the validator annotations to give feedback to the user if
> a field was not filled. But this annotations are made in the model-class
> and a model tries to store data in the db.
>
> So how to tell my model to NOT store a field or a model to db?
If there is no TCA definition for a field, the data would not be saved.
A new object of a model would only be saved if it is added to the
corresponding repository object.
Best
Marc Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list