Hello, let me start our by saying that I am new to Joomla (1.5.2), Chronoforms (V2.5 J1.5 RC2.1), and PHP... the triple threat!
We are planning to use Joomla internally as our intranet, and the form I have created is a vacation request form.
Basically I am trying to use the Chronoform feature to send an e-mail to a manager's email address collected on the form as variable ManagerEmail... but the General tab insists on "something" being in the Email Address(es): field on the General tab... and is concatenated with (expected overwritten by) the Email field: on the Special tab... so my e-mail goes to 2 addresses instead of one.
The closest thread I could find to my issue is here, but this was about overriding the ReplyTo.
What do I need to add to my OnSubmit() to override the "SendTo" address? or how to I make the Special Tab field override the General Tab?
My current OnSubmit is:
Thanks in advance!
Daniel
We are planning to use Joomla internally as our intranet, and the form I have created is a vacation request form.
Basically I am trying to use the Chronoform feature to send an e-mail to a manager's email address collected on the form as variable ManagerEmail... but the General tab insists on "something" being in the Email Address(es): field on the General tab... and is concatenated with (expected overwritten by) the Email field: on the Special tab... so my e-mail goes to 2 addresses instead of one.
The closest thread I could find to my issue is here, but this was about overriding the ReplyTo.
What do I need to add to my OnSubmit() to override the "SendTo" address? or how to I make the Special Tab field override the General Tab?
My current OnSubmit is:
<?php $_POST['subject'] = "Leave Request Form - ".$_POST['EmployeeName']?>
Thanks in advance!
Daniel