Skip to content

akiessling/t3ext-form_dynamic_recipient

Repository files navigation

Form Dynamic Recipient for EXT:form / TYPO3 10.4

This extension adds simple database records, that can be used to generate a select field in the frontend. The selected option can be accessed with an assigned alias and thus be used as a dynamic recipient, e.g. in the Recipient address field.

Installation

Clone to typo3conf/ext/form_dynamic_recipient

git clone https://github.com/akiessling/t3ext-form_dynamic_recipient.git form_dynamic_recipient

or install via composer

composer config repositories.form_dynamic_recipient vcs https://github.com/akiessling/t3ext-form_dynamic_recipient.git
composer require andreaskiessling/form-dynamic-recipient:dev-master

Configuration

  • Create database records with a label and target email address
  • add a select field of type Selectable recipient to the form, configure the page to load the values from and the variable to fill with the selected value, e.g. dynamicRecipient
  • Configure the Email to receiver finisher with {dynamicRecipient.email} and {dynamicRecipient.label} - set the form field to required, if you use {dynamicRecipient.email} as the target email address.

ToDos

  • validate submitted option to contain a uid from the records of the configured storage page

Resources

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published