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.

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 form elements with a name and generates the table if it doesn’t exist and adds each field as column if it does not exist.

This Finisher inherits all setup properties from the Finisher\DB. Please note that while creating the fields it does not yet take the field mapping into account but generates all fields that are found in the form and not excluded by .excludeFields.

Version added

1.0.0

TypoScript path

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

Properties

.autoCreate

If this is set to false the Finisher will not create any table or fields (it behaves just as Finisher\DB in this case).

Data type

Boolean | cObj

Version added

1.0.0

.excludeFields

Comma separated list of fields that should not be added to the table.

Data type

String | cObj

Version added

1.0.0

.newFieldsSqlAttribs

The SQL-attributes used when new fields are added to the table.

Data type

String | cObj

Default value

TINYTEXT NOT NULL

Version added

1.0.0