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 to your setup.

Version added

1.0.0

TypoScript path

module.tx_formhandler.settings copy to clipboard

Properties

.csv

This blocks controls the CSV generation.

Data type

Array

Version added

1.0.0

Example code

module.tx_formhandler {
	settings {
		csv {
			class = Generator\BackendCsv
			config {
				encoding = utf-8
				delimiter = ,
				enclosure = "
				fileName = formhandler.csv
			}
		}
	}
}

.csv.class

Add your own CSV generator class for the backend module.

Data type

String

Default value

Generator\BackendCsv

Version added

2.1.0

Example code

module.tx_formhandler.settings {
  csv {
    class = Vendor\MyPackage\Generator\CustomGenerator
  }
}

.csv.config.delimiter

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

Data type

String | cObj

Default value

,

Version added

1.0.0

.csv.config.enclosure

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

Data type

String | cObj

Default value

Version added

1.0.0

.csv.config.encoding

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

Data type

String | cObj

Default value

UTF-8

Version added

1.0.0

.csv.config.fileName

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

Data type

String | cObj

Default value

formhandler.csv

Version added

2.1.0

Example code

fileName = formhandler-export.csv

.pdf

This section controls the PDF generation.

Data type

Array

Version added

1.0.0

Example code

module.tx_formhandler {
	settings {
		pdf {
			class = Generator\BackendTcPdf
			config {
				font = FreeSans
				fontSize = 12
				fontSizeHeader = 8
				fontSizeFooter = 8
				fileName = formhandler.pdf
			}
		}
	}
}

.pdf.class

Add your own PDF generator class for the backend module.

Data type

String | cObj

Default value

Generator\BackendTcPdf

Version added

1.1.0

Example code

module.tx_formhandler.settings {
  pdf {
    class = Vendor\MyPackage\Generator\MyGenerator
  }
}

.pdf.config.fileName

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

Data type

String | cObj

Default value

formhandler.pdf

Version added

2.1.0

Example code

outputFileName = formhandler-export.pdf

.pdf.config.font

The font to be used in the PDF.

This can be one of the following: Helvetica, FreeSans, FreeMono

Data type

String | cObj

Default value

FreeSans

Version added

2.1.0

Example code

font = FreeSans

.pdf.config.fontSize

The font size (in pt)

Data type

String | cObj

Default value

12

Version added

2.1.0

Example code

fontSize = 12

.pdf.config.fontSizeHeader

The font size (in pt) for the header section.

Data type

String | cObj

Default value

8

Version added

2.1.0

.pdf.config.fontSizeFooter

The font size (in pt) for the footer section.

Data type

Integer - cObj

Default value

8

Version added

2.1.0

.forceDelete

Forces deletion of log entries, when deleting in the backend module. If not set, the log entries are just set to deleted=1 to be recoverable using Recycler.

Data type

Integer - cObj

Version added

2.3.0

Example code

module.tx_formhandler.settings {
  forceDelete = 1
}

.enableClearLogs

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

Data type

Boolean

Version added

1.4.0