[TYPO3-project-formidable] Stay in create / insert mode

Gary Wong gary.wong at spingroup.com
Thu Nov 27 01:31:30 CET 2008


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



More information about the TYPO3-project-formidable mailing list