Introduction 

What does it do? 

EXT:form_tools contains a collection of tools for TYPO3's EXT:form:

It contains an extended version of SaveToDatabase finisher called StoreFieldsAsXmlToDb which additionally stores all form fields into a xml-column of the DB table.

Use the table garbage collection task of TYPO3 to remove entries older than 30 days.

Installation 

Installation Type 

Composer 

You can install form_tools with following shell command:

composer req jweiland/form-tools
Copied!

Extensionmanager 

If you want to install form_tools traditionally with Extensionmanager, follow these steps:

  1. Visit ExtensionManager
  2. Switch over to Get Extensions
  3. Search for form_tools
  4. Install extension

DEV Version (GIT) 

You can install the latest DEV Version with following GIT command:

git clone https://github.com/jweiland-net/form_tools.git
Copied!

Configuration 

Finisher 

StoreFieldsAsXmlToDb 

First of all you have to load our YAML file which contains a configuration to register our finisher to EXT:form

plugin.tx_form.settings.yamlConfigurations.1611907550 = EXT:form_tools/Configuration/Form/StoreAsXml.yaml
module.tx_form.settings.yamlConfigurations.1611907551 = EXT:form_tools/Configuration/Form/StoreAsXml.yaml
Copied!

Now you can use our finisher with the same configuration which is valid for SaveToDatabase finisher of EXT:form

finishers:
  -
    options:
      table: 'tx_formtools_requests'
      mode: 'insert'
      elements:
        email-1:
          mapOnDatabaseColumn: 'email'
        textarea-1:
          mapOnDatabaseColumn: 'content'
      databaseColumnMappings:
        subject:
          value: 'Default Subject from YAML'
        pid:
          value: 1
        tstamp:
          value: '{__currentTimestamp}'
        crdate:
          value: '{__currentTimestamp}'
    identifier: StoreFieldsAsXmlToDb
Copied!

Set the value of pid to your page/folder where the mails should be found in the Backend.

Renderables