Buy Now
Sign in

Sending email to supplied email

jpipitone , January 17 2008, 05:42
J
jpipitone 36
January 17 2008, 05:42 #4978
I have a few fields at the beginning of my form, one of them is Hiring Manager - where the hiring manager's email address is typed in here.

Is there a way to send the completed form email to the Hiring Manager's email address that is entered in, as well as the other email address that I have specified in the ChronoForms config?

Thanks in advance for your help, I tried searching but could not find a post relevant to this topic.

-Joe<br><br>Post edited by: jpipitone, at: 2008/01/17 00:42
GreyHead 64
January 17 2008, 06:00 #4979
Hi Joe,

Please have a look at this FAQ which I think is a similar problem. Does this do what you need?

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
J
jpipitone 36
January 17 2008, 06:08 #4980
I'm not sure this will do it - it looks like they are creating a drop down menu with pre-populated email addresses.

Does this have to be a pre-defined email address, or can I simply just replace 'em1' with my custom 'HiringManager' field?

What does the => do?

array('em1'=>'name_1@example.com'
GreyHead 64
January 17 2008, 06:20 #4981
Hi Joe,

I think I misunderstood what you were trying to do - or at least part of it. This is a way to have the user select a 'Manager' and and have an email sent to them without putting the email address on the form (to avoid scrapers).

If the Hiring Manager's address is being entered in a form field then you can use the 'Special Fields' tab to enter the field name. Let me know if this works for you.

Bob

PS the '=>' is a PHP array assignment in this case create and array entry with index 'em1' and value [email]'name_1@example.com[/email]'
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
J
jpipitone 36
January 17 2008, 06:38 #4982
Sorry - I may not have explained it right the first time.

I'm not worried about scapers or spammers, this is purely an Intranet based site where only the IT department has access to.

When a new employee is hired, this form is filled out. I've already set the form to send an email to myself for testing.

When HR inputs the hiring manager's email address - we want the form results to be emailed to the hiring manager, and that email address is going to be different every time since we're forcing HR to put their email address in there every time.

I'm wondering if we can just grab that email address that was typed in, and also email the hiring manager, as well as myself.

Does this clarify?
J
jpipitone 36
January 17 2008, 06:38 #4983
Ha - I've also misunderstood you. I will put the field name in the Special Fields tab and test it out ;-)
J
jpipitone 36
January 17 2008, 06:41 #4984
IT works!!! THANKS!!!
GreyHead 64
January 17 2008, 12:20 #4987
Hi Joe,

Excellent!! it's really nice when the answer is simple

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much