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

Reinhard Führicht rf at typoheads.at
Tue Mar 22 18:21:35 CET 2011


Am 2011-03-22 17:34, schrieb Andreas Kiessling:
> 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

Hi Andreas,

I am currently working on a PreProcessor which validates the auth code.
I never thought about how nice it would be to just skip the form and go 
right to the finishers.

I created a ticket on Forge. Please join the discussion.

http://forge.typo3.org/issues/13978

Regards,
Reinhard


More information about the TYPO3-english mailing list