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

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

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

Renderables