[Flow] form with items that do not represent members of an object
mario chiari
ml at mariochiari.net
Tue Oct 8 13:27:57 CEST 2013
Alex
in a similar situation, I just gave the user the possibility to create
the new object foo4. If the create action redirect him to the main form,
the selectbox will display the new value too.
cheers
mario
On Tue, 2013-10-08 at 12:59 +0200, Axel Wüstemann wrote:
> Hello,
>
> as I could understand up to now, forms rely on model objects, so all
> formfields need to represent an object member.
>
> Now I have the case, that I want to select an item from a selectbox, but
> alternatively set a new item of that type.
>
> Example:
> In my selectbox "bar" I can choose between foo1, foo2 or foo3, but now I
> want to introduce a foo4 value - so additional to the selectbox "bar" I
> want to have a text filed "newBar" where I can enter the value foo4.
>
> Maybe I can introduce a "newBar" menmber in my domain object, but than I
> would need to exclude it from being persisted.
>
> How I can achieve that?
>
> Thanks
>
> Axel
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
More information about the Flow
mailing list