inserviosupport Posted January 11 Share Posted January 11 I was wondering if it's possible to have a form submit to different emails depending on the Enquiry Type? For example, if the enquiry is "Ophthalmology Enquiry", it will send to abc@gmail.com. If the enquiry is "Home Delivery Enquiry", it will send to xyz@gmail.com, and so on. Link to comment
Solution paul2009 Posted January 12 Solution Share Posted January 12 13 hours ago, inserviosupport said: Is there a way to dynamically change the email recipient of a form depending on one of the values? No. A Form Block can only have one fixed email recipient. Workarounds include the following: You can provide links to different pages, each containing the same Form Block but configured to use a different email address. This doesn't require code. By using code, you could place several Form Blocks on one page, each configured with a different email address. Someone could write some code (JavaScript) to add a dropdown of options and selectively hide/show the relevant Form Block, depending on a user's selection. Did this help? Please give feedback by clicking an icon below ⬇️ inserviosupport 1 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment