Form results to separate departments?

User 985572 Photo


Registered User
13 posts

Hi folks,
In the meeting room reservation template, you can have a drop down with options for various departments; but upon a quick look, it seems that irrespective of which is selected there, all form results will be submitted to the same email account?

I want to have the results sent to the respective departments; sales goes to a sales email address, support to a support email address and so on. Is this possible please? Or would I have to set up an autoresponder on my server to re-direct form responses according to the dept field?

Thanks
Peter
Peter Phelan
The Imaging Company Ltd
http://www.theimagingcompany.com
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Hi Peter,
You'll need to either write your own myformname.php or use the redirect to url and capture and process the variables the way you want to.
This post shows you how to handle variables on the redirect.
http://www.coffeecup.com/forums/web-for … post239658
For the myformname.php replacement the variables are available via $_POST
<?php
$myvariable = $_POST['myvariable'];
echo $myvariable ;
?>
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 985572 Photo


Registered User
13 posts

Hi Eric,
Many thanks for the quick reply. It's bit beyond me, so I'll ask my php expert to take a look at your post and info. The re-direct look a good solution though.
With kind regards
Peter
Peter Phelan
The Imaging Company Ltd
http://www.theimagingcompany.com
User 38401 Photo


Senior Advisor
10,951 posts

Hiya Peter,

That is actually in the program, you don't have to do anything special with PHP at all for it. Just setup your dropdown as a contact list. There is a selection box in the settings of the dropdown that you create that you should be able to check it and it will then allow you to enter the correct information for each email that should be getting a copy. Keep in mind that the main email "may" still get a copy, I haven't checked that part, maybe not, dunno.

Here's a link to help you set it up correctly for the emails (I think it starts with an example when you check the box but I don't recall at the moment.
http://www.coffeecup.com/help/articles/ … m-builder/

Good Luck! :)
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

I think your correct JoAnn in that he was looking for a contact list feature. I wasn't thinking that direction. Thanks for the follow up.:)
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 985572 Photo


Registered User
13 posts

Hi JoAnn,
Many thanks for this; I'll do a little experimenting asap. But this certainly looks like it will solve the problem ok! :)
With kind regards,
Peter
Peter Phelan
The Imaging Company Ltd
http://www.theimagingcompany.com

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.