New answers tagged

0

Finally found a solution for this problem: {{ message.params.contact_message.get('field_name').getValue().0.value }} With this you can access any field on your form! Hope it helps :)


0

In Drupal 8 you can go to webform settings-> email/handler -> add email then select current user email address for To email.


0

There are only two Rules actions that haven't been fully ported to D8 yet, and "Send mail to all users of a role" is one of them. When it is finally ported, it should provide the same capability as in D7. There's a patch in the Rules issue queue which ports this action to D8 - you can try out that patch to see if it solves the issue for you. See: Port Send ...


0

I've recently built a subscriber module with a small piece of custom code. I prefer working with webform handlers instead of the Mailchimp module. In a custom module add a folder src/Plugin/WebformHandler and create a file newsletterSubscription.php. Add the following code: <?php namespace Drupal\<mycustommodule>\Plugin\WebformHandler; use Drupal\...


Top 50 recent answers are included