First off I am building this form on a joomla 1.0 site with and older version of Chronoforms
My form is working and the automated response is working, Now here is the hitch I only want the automated response to go to the submitter is they actually opt in to the service. I thought i found how to do this last night but now I can't fine the article. Can anyone help?
here is the opt in options in the form HTML
The Auto responder in the "submit after email is sent" field:
My form is working and the automated response is working, Now here is the hitch I only want the automated response to go to the submitter is they actually opt in to the service. I thought i found how to do this last night but now I can't fine the article. Can anyone help?
here is the opt in options in the form HTML
<tr>
<td width="65">
<input type="radio" name="opt-in" value="authorize" id="opt-in_0" />
</td>
<td width="403"><p>I want authorize option.</p></td>
</tr>
<tr>
<td>
<input type="radio" name="opt-in" value="do not authorize" id="opt-in_1" />
</td>
<td><p>I do not want to authorize option.</p></td>
</tr>
The Auto responder in the "submit after email is sent" field:
<?php
$recipient = $_POST['email'];
$subject = "Thank YOU for your recent contact.";
$html_message = "
<p>This notice serves as confirmation that you have authorized us to use your info</p>";
mosMail($from, $fromname, $recipient, $subject, $html_message, true );
echo $html_message;
?>