[TYPO3-mvc] Working with input-fields but without saving to DB

Stefan Frömken firma at sfroemken.de
Mon Aug 15 16:16:16 CEST 2011


Am 15.08.2011 10:55, schrieb Marc Bastian Heinrichs:
> 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
>
Extension is finnished. Thank you.

Stefan


More information about the TYPO3-project-typo3v4mvc mailing list