[TYPO3-english] formhandler: pre-loading values from file
Claudio Strizzolo
claudio.strizzolo at ts.nogarb.ageinfn.it
Mon Mar 21 14:02:08 CET 2011
Hi all,
I am trying to update a mailformplus setup to formhandler.
I need to load the values to be used in a <select> form field from a text
file:
Donald|Donald.Duck at example.com
Mickey|Mickey.Mouse at example.com
Basically, I need the first field to appear in the select menu, and the
sedcond field to be assigned as the value.
In mailformplus a preprocUserFunc was used:
plugin.tx_thmailformplus_pi1.preprocUserFunc = fileadmin/somewhere/
my_preproc.php:my_preproc->doit
How can I do the same using formhandler? I read about the
Preprocessor_LoadDB preprocessor, but that is a different case (DB instead
of text file).
Any hints?
Thanks in advance,
Claudio
More information about the TYPO3-english
mailing list