The form page type (/form, 1704) existed because on the static pages of the hybrid setup the page URL never reached TYPO3. With static rendering retired, forms post to the page they are on, like the newsletter form: the additionalParams in FormSetup.yaml, Page/Form.typoscript and the /form entries of the PageType enhancers are gone. Each form island gets the id form-island-<form identifier> (EXT:form appends the content element uid), and Form.html targets and selects that id instead of .form-island. With two forms on one page, a submission no longer swaps in the first form's island. Kept: hx-boost on the forms, HtmxRedirectMiddleware (Redirect finishers under htmx) and /captcha (bw_captcha's image type). Co-Authored-By: Claude Opus 5.5 <[email protected]>
53 lines
1.9 KiB
YAML
53 lines
1.9 KiB
YAML
TYPO3:
|
|
CMS:
|
|
Form:
|
|
persistenceManager:
|
|
allowedExtensionPaths:
|
|
10: EXT:ep_theme/Resources/Private/Forms/
|
|
|
|
prototypes:
|
|
standard:
|
|
formElementsDefinition:
|
|
Form:
|
|
renderingOptions:
|
|
templateRootPaths:
|
|
1505042810: 'EXT:ep_theme/Resources/Private/Templates/Form/'
|
|
partialRootPaths:
|
|
1623227657: 'EXT:ep_theme/Resources/Private/Partials/Form/'
|
|
layoutRootPaths:
|
|
1505042810: 'EXT:ep_theme/Resources/Private/Layouts/Form/'
|
|
# Every form has a captcha
|
|
honeypot:
|
|
enable: false
|
|
|
|
finishersDefinition:
|
|
BpnApiFinisher:
|
|
implementationClassName: 'EP\EpTheme\Form\BpnApiFinisher'
|
|
formEditor:
|
|
label: 'BusPro Finisher'
|
|
options:
|
|
identifier: 'BpnApiFinisher'
|
|
mapping: 'lastName:text-1,firstName:text-2,gender:singleselect-1,email:email-1,phone:telephone-1'
|
|
ApplicationApiFinisher:
|
|
implementationClassName: 'EP\EpTheme\Form\ApplicationApiFinisher'
|
|
formEditor:
|
|
label: 'Application Finisher'
|
|
options:
|
|
identifier: 'ApplicationApiFinisher'
|
|
mapping: 'firstName:text-1,lastName:text-2,email:email-1,phone:telephone-1'
|
|
exclude: 'captcha,privacypolicyaccepted'
|
|
AddReferrerFinisher:
|
|
implementationClassName: 'EP\EpTheme\Form\AddReferrerFinisher'
|
|
formEditor:
|
|
label: 'Referrer Finisher'
|
|
options:
|
|
identifier: 'AddReferrerFinisher'
|
|
|
|
contactform:
|
|
__inheritances:
|
|
10: 'TYPO3.CMS.Form.prototypes.standard'
|
|
|
|
applicationform:
|
|
__inheritances:
|
|
10: 'TYPO3.CMS.Form.prototypes.standard'
|