traw / powermailautocomplete
Add autocomplete tokens to powermail fields
Installs: 6 559
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: ^7.4 || ^8.0
- evoweb/extender: ^9.0 || ^10
- in2code/powermail: ^9.0 || ^10.5 || ^11.0 || ^12.0
- typo3/cms-core: ^11.5 || ^12.4
README
This extension aims to add most autocomplete options to powermail fields.
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-field
Installation
composer require traw/powermailautocomplete
Setup
Add the typoscript template "Powermail Autocomplete" after the Powermail Maintemplate
If you override the partials for input and textarea fields or the Form template, e.g. in your own extension, make sure to update those files:
- add the namespace
{namespace t=TRAW\Powermailautocomplete\ViewHelpers}
- replace the f:form ViewHelpers and add the autocomplete attribute See the example partials and example template for reference
Editors
Editors can enable autocompletion in the Extended tab of the powermail form record
Additionally explicit autocomplete field values, autofill sections and more can be set in powermail's field records.
Available values and explanations can be found in the references section
References:
- https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-field
- https://wiki.selfhtml.org/wiki/HTML/Attribute/autocomplete#autocomplete_und_Autofill
- https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete
Known Problems:
TYPO3 Exception when using evoweb/extender 10.1.0
Solution: Use evoweb/extender develop branch
In your root composer.json add the following in the require section
"traw/powermailautocomplete": "2.2.2",
"evoweb/extender": "dev-develop as 10.99.99"