Have you seen our video tutorials? Check 'em out!

[Forms module] Display "select" labels instead of values in notification mails

jerev - 1 month ago

What would be the correct way to show the display value of a select input, in a mail notification, forms module.

Currently we use this helper (forms_input):
https://github.com/anomalylabs/forms-module/blob/master/src/FormsModulePlugin.php#L86-L108

But this shows the value.
iow. given this option, 1: Apples, we currently see 1 and want to see Apples in the notification mail.

ryanthompson - 1 month ago

The default behavior does not accomodate this. The input variable get's passed into the notification though so you could do some Twig-ness in there.