[TYPO3-project-formidable] Stay in create / insert mode
Jérôme Schneider
typo3dev at ameos.com
Thu Dec 11 00:00:25 CET 2008
Hello Gary,
You'll find a simple way to achieve this here:
http://formidable.typo3.ug/pastebin/snippet/58.html
This solution is based on a datahandler/process/afterCreation executing
a sendToPage()
Success !
Jerome Schneider
PS: sorry for late answers; we are working round the clock these days
(as always!)
Gary Wong a écrit :
> I'm still stuck on this - hints, anyone?
>
> Gary Wong wrote:
>> Another day, another challenge. This one seem to be trivial, but for
>> some reason I just can't get it.
>>
>> I want a form to always stay in create / insert mode, sort of like
>> "Save and new" functionality.
>>
>> I thought I could force a datahandler to stay in create mode if I did:
>>
>> <datahandler:DB> <tablename>tx_amiapp_docspecialties</tablename>
>> <keyname>uid</keyname> <editentry><userobj>
>> <php><![CDATA[
>> return false;
>> ]]></php>
>> </userobj>
>> </editentry>
>> </datahandler:DB>
>>
>> But it does't work. After I submit the form it stays in edit mode.
>>
>> Anyone try this before? I'm sure someone did!
>>
>> Thanks,
>> Gary
>>
>> _______________________________________________
>> TYPO3-project-formidable mailing list
>> TYPO3-project-formidable at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
>>
>>
>
More information about the TYPO3-project-formidable
mailing list