I have a simple working contact form that emails a specific person in a company possible customer information. However, the client also wants a confirmation sent to the potential customer when the customer submits the form containing a link and some other general info so that then can return to the "thank you" url, which has some helpful information.
How do you send two different emails at the same time to two a regular email address but also the email inputed in a form?
I doesn't seem you can use {email} to email the person who submitted the form.
{exp:freeform:form
form:id="employee-form-wrap"
collection="Employee Relocation Form"
template="employee-relocation-form"
return="contact/thank-you"
notify="[email protected]"
}
{exp:freeform:form
form:id="employee-form-wrap"
collection="Employee Relocation Form Thank You Confirmation Email"
template="Employee-Relocation-Form-Thank-You-Confirmation-Email"
notify="{email}"
}
<p><span>* </span>Indicates required field</p>
<div>
<label for="name">Name <span class="req">*</span></label><br>
<input type="text" id="name" name="name" value="" class="validate[required] text-input">
</div>
<div>
<label for="email">Email <span class="req">*</span></label><br>
<input type="email" id="email" name="email" value="" class="validate[required,custom[email]]">
</div>
<div>
<label for="phone">Phone Number</label><br>
<input type="text" id="phone" name="phone" value="">
</div>
<li class="screen-reader">
<label for="honeepot">Don't put anything here</label>
<input type="text" name="honeepot" id="honeepot" />
</li>
<input id="submit" type="submit" value="Submit" >
{/exp:freeform:form}
{/exp:freeform:form}