This extension allows you to include a code within the notification when sending a form to your users. This code can be, for instance, a voucher, discount, or invitation code. Each code is valid only once, and you can track who has claimed which codes.
- Contao 4.13 (or newer)
- terminal42/contao-notification_center
- Install via Contao Manager or Composer (
composer require numero2/contao-form-codes
) - Run a database update via the Contao-Installtool or using the contao:migrate command.
- Create a new notification in the
Notification Center
of typeContao: Form submission
and use the now available Simple-Token##fc_code##
to put the generated code into your e-mail - Create or edit a form and check the option
Für Codes benutzen?
, also make sure to select the correct notification - In the overview of your forms you'll now be presented with an additional button where you can import and manage your codes