Add ability to send the submission e-mail to different recipients, based on what the visitor filled. (Text calculations and/or ability to define multiple submission e-mail templates)
A
Antonin Haas
I want to create a universal contact form, in which the visitor would choose the department, and the submission message would be then sent to e-mail of that department. If it helps, I can think about two possible ways:
1) add a new type of field "text calculation", in which you would be able to define calculations like "if the field Department contains value "Human resources", set the value of this field to "hr@company.com" ". Then you would set this calculation field as e-mail destination in the e-mail submission settings.
2) let the user create multiple e-mail submission settings with optional conditions, so I would be able to set "if the field Department contains value "Human resources", use this e-mail submission template".
If you implement the multiple e-mail submissions settings, the additional value would be that it would be possible to send multiple different e-mails upon single submission - for example for a test form, you may want to send the student e-mail only with the result, while the teacher should get detailed e-mail with all answers, and for example the HR manager from the student's company may want just e-mail that the student Joe Smith finished annual testing.