Different Send To Emails Based On...

User 140444 Photo


Registered User
99 posts

Had an interesting question posed to me by someone...

Can you send an email to a certain email based on selection (Drop Down, Check box, Radio)?

At this point I don't see where we would have the option to do that UNLESS - you had the ability to create a dropdown with a sub option to an email.

I wanted to know if anyone had created a form that could be emailed to different email addresses based on a selection.

The example I have is a place with 2-3 Sales offices and depending on the location of the person completing a form they may want to select the office that is closer to them. Once they selected their closest office, then it would email someone from that office, but not everyone.

This may be a suggestion at this point rather than something that has been or can be done currently.
User 629005 Photo


Ambassador
2,174 posts

Jared - I'm pretty sure someone else was discussing that very situation earlier today. I'll see if I can find the thread for you.

Edit:
Nevermind, found the thread and seems I was mis-reading what was being discussed actually. Sorry for any confusion.
Living the dream, stocking the cream :D
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

I would think you could use Jquery to show a different form based on the users selection. So each form would have a different email assigned to it.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 38401 Photo


Senior Advisor
10,951 posts

If I recall correctly (correct me if I'm wrong here Scott or anyone else that may have seen the conversation) this is something they are looking at putting in at some point, but it's not there at this time.
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

I did a proof of concept. Nothing fancy but it does work.:)
Email change on selection.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 140444 Photo


Registered User
99 posts

Eric,
That is one option to make it work, but I was looking for something "inside" the form builder. I am not really sure how that would look when creating a form in the form builder. Looks like this may be a suggestion rather than a reality at this point. I don't know how many other folks would like that option but it may come in handy for some. Thanks for putting that together...it looks good!
User 464893 Photo


Ambassador
1,611 posts

Actually you can. I used a simular approach to add a Paypal system. What you do is set the reply to a php script that reads the result.csv file and depending on what radio, drop down selection is made you use php send mail to the appropriate destination. It will be invisible to the user. The script will take over after the event and will not effect the forms performance. Every thing is available in the results.csv or sql if desired.
If you want to go down that track I will help, not do it for you. I would charge for that. You would have to have your own hosted site. There is enough contact information around the forums if you want to talk to me. In the mean time Eric seems to have a good concept he demonstrated.
The Guy from OZ



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.