[Typo3] How to build a complex form?

Nick Weisser typo3 at openstream.ch
Sat Jun 18 20:19:31 CEST 2005


Derek wrote:

> To allow a front-end user to edit the data they submitted, just have the
> extension check to see if they have submitted a form already. If they have,
> pre-populate the form fields with this data.
> 
> You will need to either send the front end user id as a hidden value in the
> form (so it gets saved to the database), or modify the extension so the
> mailformplus table has a frontenduserid field to identify the FE user who
> submit it. All the form field data seems to be saved in a
> semicolon-delimited list in the database... You will need to use the explode
> function to separate this data so you can pre-populate the form data if the
> user had already submit a form.
> 
> I may be over-simplifying things, and it may end up being a more complex
> task than I have mentioned. But hopefully this gives you somewhere to start.
> 
> Not sure about how to make this data searchable... Probably will need to
> create a new extension which queries the mailformplus table. You could look
> at search functionality in other extensions to see how to create this on
> your own extension.

Thanks for sharing your ideas, Derek. I really appreciate this. I'll 
first try to do it as Bernhard suggested. This seems to be the shortcut 
solution - using fe_adminLib.inc via TypoScript without even extending 
the tslib_pibase class as done by the kickstarter.

Cheers,
Nick



More information about the TYPO3-english mailing list