[TYPO3-english] Insert into two different tables - mailformplus

Reinhard Führicht rf at typoheads.at
Tue Nov 4 12:09:36 CET 2008


Natalia schrieb:
> Hi,
> 
> I have a form that uploads news that can have dam elements associated.
> I'm using mailformplus to do that, but I need to save the information in
> two different tables (tt_news, tx_dam).
> I've been searching and reading the manual but I can't figure out how to
> save information in two tables. I would find it very strange if it were
> not possible... but maybe it is.
> 
> Has someone the answer to this?
> And if it is not possible any ideas/suggestions of how to do this?
> 
> Thank you
> 

Hi Natalia,

you can use the saveUserFunc-option in TypoScript to call your own code. 
There you could perform the second insert.

Reinhard


More information about the TYPO3-english mailing list