Is there a faster way to create conditional email handlers with Drupal 8 than adding emails one by one?

177 views Asked by At

I'm creating a Drupal 8 webform that will collect issues submitted by users. The users belong to different institutions, and I'd like to send the submission to the appropriate institutional contact (selected from a drop-down list in the form).

I've used conditional logic to create a handler "if [institution1] selected, email to [email protected]" and while it works well, I have a lot of institutions (and several different forms to create). Does anyone know if there is a faster way to conditionally assign a contact email for each institution, and to repeat/save this across multiple forms?

Added handler, set conditional logic to select if value "Institutional1" is filled. Duplicated handlers, changing the email and filled value each time.

0

There are 0 answers