Actions
Feature #89551
closedAdd additionalAttributes to formDefinitions renderingOptions
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2019-10-30
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:
Description
Currently, via form definition files, it is only possible to set additionalParams.
Adding additionalAttributes is only possible, if you override the Form.html with your own Extension.
So this should be possible:
TYPO3:
CMS:
Form:
prototypes:
standard:
formElementsDefinition:
Form:
renderingOptions:
additionalAttributes:
novalidate: 'novalidate'
If you add
additionalAttributes="{form.renderingOptions.additionalAttributes}"
to the typo3/sysext/form/Resources/Private/Frontend/Templates/Form.html
Actions