Hello everyone!
This is to solve the issue of more than 1 form on a site when you want each to submit to a different email.
I just came up with an idea for one of my clients and I think it would be a good thing to share. So I had created a custom form to email script to handle multiple forms on a site that needed to go to separate addresses. In safari, for some reason form validation does not work within webflow no matter what you do if you have a target. So to keep native form submission validation and styleability, I decided to implement filters on a new gmail account created for just this purpose.
It may seem like a lot of steps but I just wrote it for anyone to understand.
Here is what you do:
Make a new gmail account or use one you have if you want
Set your form submissions to go to that gmail account in the site settings
Under email template, put {{formName}} {{ formData }}
Name your forms unique names
Send a test from each form.
Setting up gmail:
Go into gmail webmail
Go to settings > forwarding and pop
At the top, choose add a forwarding address
Add all the emails you want forms to go to
Check those emails and click the validation link
Setting up filters:
find the emails you submitted from webflow
for each hit the little triangle next to the reply button on the upper right of the message.
Choose filter messages like this
It will auto select the email address
Toward the bottom where it says has the words, put your form name in quotes exactly as itās named in your site
In Doesnāt have, put the name of any other forms in your site in quotes as well.
Hit create filter with this search in the bottom right
check forward it to whichever email you like for that form name
Choose any other options you want and click create filter
Repeat this process for any other email form submissions you got from webflow
Done, now when you submit a form on your site, it will go to gmail and then to your designated final email for that form.
Good Luck! Reply if you have any questions!