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¶
Checkboxlink¶
First of all you have to load our YAML file which contains a configuration to register our form element to EXT:form
plugin.tx_form.settings.yamlConfigurations.2345 = EXT:form_tools/Configuration/Form/Checkboxlink.yaml
Now you can use our form element of EXT:form
renderables:
-
type: Checkboxlink
identifier: dsgvo
label: 'Datenschutzerklärung gelesen'
validators:
-
identifier: NotEmpty
properties:
value: '1'
fluidAdditionalAttributes:
required: required