Feedback

Finisher_GenerateAuthCode

Generates a unique token for a database entry.
This can be users for FE user registration or newsletter registration.

Version added

1.0.0

TypoScript path

plugin.Tx_Formhandler.settings.finishers.x copy to clipboard

Important

Use this finisher after Finisher_DB and before Finisher_Mail to be able to send the auth code in an email.

Properties

.table

The table where the form data was saved to.
This is needed for the auth code generation.

Data type

String | cObj

Version added

1.0.0

.authCodePage

This is the page used for the generation of the auth code link which can be used in emails.

If no page is configured in TypoScript, Formhandler will take the “Redirect Page” entered in the Flexform or the current page ID if nothing is defined in the flexform either.

Data type

Integer | String | cObj

Default value

Current PID

Version added

1.0.0

Important

The finisher stores the generated code and the link, so that they can be used in other components and email templates later on. You can use the markers ###auth_code###, ###value_generated_authCode### and ###value_authCodeUrl### to access these values.

.selectFields

The database fields to be used to generate the auth code.

Data type

Comma separated list | cObj

Default value

*

Version added

1.0.0

CHECK IT OUT

KEEP US HAPPY

 

Formhandler - forms for professionals

© Typoheads 2011 - forever.