Hello, I am having an issue where the contact form is not working at all. When I click on the submit button, it takes me to the home page and does nothing. Here is the code that I am using:
{exp:email:contact_form
user_recipients="no"
recipients="[email protected]"
charset="utf-8"
name="contactForm"
replyto="no"
redirect="5"
return="{site_url}"
form_id="trialForm"
}
<!-- SUBJECT -->
<input type="hidden" id="subject" name="subject" value="Trial class">
<!-- MESSAGE -->
<input type="hidden" name="message">
<!-- NAME -->
<label for="name">Name:</label>
<input type="text" id="name" name="required[]" class="field" autocomplete="on"><br>
<!-- PHONE -->
<label for="phone">Phone:</label>
<input type="text" id="phone" name="required[]" class="field" autocomplete="on"><br>
<!-- EMAIL -->
<label for="from">Email:</label>
<input type="text" id="from" name="from" class="field" autocomplete="on"><br>
<!-- LINK -->
<a href="#" title="Get Started Today" class="formButton">Get Started Today</a>
{/exp:email:contact_form}Any ideas as to what the problem may be?