This project is no longer maintained and no further public releases are planned.

No further support will be given.

Feel free to fork the git repository.

Backend Module

Add this TypoScript as page Ts config or user TS.

Version added

1.0.0

TypoScript path

tx_formhandler_mod1.config copy to clipboard

Properties

.csv

Enter a list of field names to export to CSV. This way you will not have to select the fields manually each time you export.

Data type

Comma separated list

Version added

1.0.0

Example code

tx_formhandler_mod1.config {
  csv = firstname, lastname, email, address
}

.csv.delimiter

Specifiy the delimiter used for CSV files created in the Backend module.

Data type

String

Default value

,

Version added

1.0.0

.csv.enclosure

Specifiy the enclosure used for CSV files created in the Backend module.

Data type

String

Default value

Version added

1.0.0

.csv.encoding

Specifiy the encoding used for CSV files created in the Backend module.

Data type

String

Default value

UTF-8

Version added

1.0.0

.csv.outputFileName

If set, the generator will use this file name for the generated file.

Data type

String | cObj

Default value

formhandler.csv

Version added

2.0.0

Example code

outputFileName = formhandler-export.csv

.pdf

Enter a list of field names to export to PDF. This way you will not have to select the fields manually each time you export.

You can use these special keywords:

pid - Page ID of the form
ip - IP address of the user (if IP log is not disabled)
submission_date - Date and time of the form submission

Data type

Comma separated list

Version added

1.0.0

Example code

tx_formhandler_mod1.config {
  pdf = firstname, lastname, email, address
}

.pdf.outputFileName

If set, the generator will use this file name for the generated file.

Data type

String | cObj

Default value

formhandler.pdf

Version added

2.0.0

Example code

outputFileName = formhandler-export.pdf

.additionalIncludePaths

The component manager will search for classes in paths entered here.

Equals the additionalIncludePaths setting for the frontend output.

Data type

Array

Version added

1.1.0

Example code

tx_formhandler_mod1.config {
  additionalIncludePaths {
    1 = fileadmin/templates/scripts
  }
}

.generators.csv

Add your own CSV generator class for the backend module.

Data type

String

Default value

Tx_Formhandler_Generator_CSV

Version added

1.1.0

Important

Make sure you set the additionalIncludePaths to make sure the component manager finds your custom class.

Example code

tx_formhandler_mod1.config {
  generators {
    csv = Tx_Formhandler_Generator_MyGenerator
  }
}

.generators.pdf

Add your own PDF generator class for the backend module.

Data type

String

Default value

Tx_Formhandler_Generator_TCPDF

Version added

1.1.0

Important

Make sure you set the additionalIncludePaths to make sure the component manager finds your custom class.

Example code

tx_formhandler_mod1.config {
  generators {
    pdf = Tx_Formhandler_Generator_MyGenerator
  }
}

.enableShowAllButton

Allows you to enable the "Show All" button for non admin users.

Data type

Boolean

Version added

1.4.0

.enableClearLogs

Enable the "Clear Logs" function for non admin users.

Data type

Boolean

Version added

1.4.0