[TYPO3-mvc] multiple steps form

Henjo Hoeksma me at henjohoeksma.nl
Fri Sep 23 23:12:12 CEST 2011


On 2011-09-23 16:11:29 +0000, Pankaj Lele said:

> Hi Ismaël,
> 
>> In createAction, I put a redirect('step2'). I would like to had argument
>> this new uid but I don't know how ?
> 
> I assume you have something like this:
> 
> $this->frontendUserRepository->add($feUser);
> 
> Then add following line
> 
> $this->objectManager->get('Tx_Extbase_Persistence_Manager')->persistAll();
> 
> Now your $feUser is stored in db and $feUser->getUid() would give you
> the uid of the same.

Since you title suggests you are building a multistep form make sure to 
checkout the documentation on forge and the several threads in this 
mailinglist. They will provide some helpfull insights. At least they 
did to me ;-)

Henjo



More information about the TYPO3-project-typo3v4mvc mailing list