guave / formrecipient-bundle
Adds the function to take the email recipient from a form field for Contao 5.0+
Installs: 103
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Type:contao-bundle
pkg:composer/guave/formrecipient-bundle
Requires
- php: ^8.1
- christianbarkowsky/contao-protectedselect: ^1.3
- contao/core-bundle: ^5.0
- symfony/config: ^6.4 || ^7.4
- symfony/dependency-injection: ^6.4 || ^7.4
- symfony/http-kernel: ^6.4 || ^7.4
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.8
- contao/manager-plugin: ^2.3.1
- phpunit/phpunit: ^9.6
- roave/security-advisories: dev-latest
- symfony/phpunit-bridge: ^6.4 || ^7.4
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2026-01-22 06:52:30 UTC
README
This bundle allows you to set the recipient of a form dynamically, based on a form field.
Requirements
- Contao 5.0+
- PHP 8.1+
Install
$ composer require guave/formrecipient-bundle
Usage
- Add a form field of type "Protected Select Menu"
- Add your recipient emails as the value and a name of your choice as the label and reference
- Set the form recipient as
{{form::name}}where name is the field name of your "Protected Select Menu"