guave / formrecipient-bundle
Adds the function to take the email recipient from a form field
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Type:contao-bundle
Requires
- php: ^7.4 || ^8.0
- christianbarkowsky/contao-protectedselect: ^1.3
- contao/core-bundle: ^4.13
- symfony/config: ^5.4
- symfony/dependency-injection: ^5.4
- symfony/http-kernel: ^5.4
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.5
- contao/manager-plugin: ^2.0
- phpunit/phpunit: ^9.5
- roave/security-advisories: dev-latest
- symfony/phpunit-bridge: ^6.1
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2024-11-11 15:39:41 UTC
README
This bundle allows you to set the recipient of a form dynamically, based on a form field.
Requirements
- Contao 4.13+
- PHP 7.4 or 8.0+
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"