Feedback

Finisher

You can enter as many Finishers as you like. Each entry requires a class name of the Finisher. Optionally you can enter a specific configuration for the Finisher in the config section.

Version added

1.0.0

TypoScript path

plugin.Tx_Formhandler.settings.finishers copy to clipboard

Example code

finishers.1 {
  class = Tx_Formhandler_Finisher_Mail
  config {
    admin {
      to_email = admin@domain.tld
      to_name = Some Guy
      subject = Request
      sender_email = contactform@mysite.com
      replyto_email = email
      replyto_name = name
    }
    user {
      to_email = email
      to_name = name
      subject = ###LLL:user_subject###
      sender_email = contactform@mysite.com
      sender_name = My Site
      replyto_email = contactform@mysite.com
    }
  }
}
finishers.2 {
  class = Tx_Formhandler_Finisher_Default
  config {
    
  }
}

Finisher_ClearCache

Clear the page cache. If no further configuration is given, the current page's cache will be cleared.

Finisher_GenerateAuthCode

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

Finisher_Redirect

Redirects to specified page after successful form submission.

Finisher_StoreUploadedFiles

Moves uploaded files from the temporary folder to a new one and renames them if so configured.

Finisher_SubmittedOK

This Finisher displays the content of the subpart ###TEMPLATE_SUBMITTED_OK### after the form was finished. Add this Finisher as the last one to show text to the user without redirection to another...

Finisher_DB

Saves submitted values into a specified DB table. The data saved to DB is accessible through template markers, e.g.: ###value_saveDB|tablename|field### or ###value_saveDB|fe_users|username###. If...

Finisher_AutoDB

Extends Finisher_DB to automatically generate the database fields for the fields in your form when a backend user is logged in and .autoCreate is enabled. To do this it scans your template code for...

Finisher_DifferentDB

Saves the submitted values into a specified DB table using a database other than the TYPO3 database.

Finisher_Mail

Sends emails to specified addresses using following subparts in the HTML template: TEMPLATE_EMAIL_USER_PLAIN TEMPLATE_EMAIL_USER_HTML TEMPLATE_EMAIL_ADMIN_PLAIN TEMPLATE_EMAIL_ADMIN_HTML

Finisher_RestoreLanguage

Switch back to the current language in FE after the language is set by Finisher_SetLanguage.

Finisher_SetLanguage

Switch to another language. This can be used to send emails using the same language every time instead of the current language in FE.

Finisher_StoreGP

This Finisher stores the GET/POST values in the Formhandler session for further use in other plugins to not lose changes in GET/POST values made by other Finishers (e.g. insert_id from...

CHECK IT OUT

KEEP US HAPPY

 

Formhandler - forms for professionals

© Typoheads 2011 - forever.