traw/powermailautocomplete

Add autocomplete tokens to powermail fields

Installs: 2 925

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 2

Open Issues: 0

Type:typo3-cms-extension

2.3.1 2024-03-06 13:01 UTC

This package is auto-updated.

Last update: 2024-04-06 13:13:20 UTC


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:

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"