[TYPO3-english] formhandler - jump to step via gp / call finisher without submitting?

Andreas Kiessling kiessling at pluspol.info
Tue Mar 22 17:34:31 CET 2011


Hi,

i'm having trouble with the "auth code" feature from formhandler:

What we tried with current (0.9.12) version and did not succeed:
First: - save some values in db
        - send a mail with a link containing an auth code (using
Tx_Formhandler_Finisher_GenerateAuthCode) and a parameter to jump to the 
second step

2) The user can click on the link and jumps to a page with another 
"form" that verifies the code, updates the db and generates yet another 
mail (e.g. an admin mail)

The second step obviously does not need any real form to be displayed, 
but using formhandler to generate all the mails is straight forward and 
easy to use

The function to determine the current step changed some time ago (with 
0.9.8 i think), and if the submitted step does not match the step in the 
session (there will be no session for that form, so it will be 0) you 
jump to step 1 -> finisher will not be called

We already thought about extending / replacing 
Tx_Formhandler_Controller_Form to preset a step in the session if the 
submitted parameters are valid to proceed.

Are there any other ways to handle double-opt-in completely in 
formhandler? Updating db can be of course be put to a custom class, but 
i would like to keep the mailing parts in one place.

Regards and thanks in advance,
Andreas


More information about the TYPO3-english mailing list