Skip to content

extrameile/form_dynamic_recipient

 
 

Repository files navigation

Form Dynamic Recipient for EXT:form / TYPO3 12.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 via composer

composer require extrameile/form-dynamic-recipient

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
  • New with version 3.x: leave the page field empty in the form yaml to load the recipients from the page with the form plugin
  • 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.

Running phpstan

.Build/bin/phpstan analyse --memory-limit=1G -l6 .

Resources

Contributors

Thanks to Thomas Löffler (spoonerWeb) and Hawkeye1909 for your contributions!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 78.5%
  • JavaScript 21.5%