Strange problem here.
If I fill out a form and leave a required fields out on purpose (i’m just testing the forms at the moment) the required field tag is picked up and correctly says to fix the error. If I click to go back, fix the error and then submit it the form redirects to by ‘return’ page but the email is never sent.
Any ideas?
I’m running v2.5.2 and EE 1.6.
I’ve tried phpmail and sendmail and both give the same result.
{exp:freeform:form form_name="contact_us_form" return="{homepage}/thank_you" notify="email@address" template="contact_us_template" required="name_contact|email_contact|question_contact"}
<label for="textinput">Name:<span class="required">*</span></label><br />
<input type="text" id="textinput" name="name_contact" size="25" /><br />
<label for="textinput">Email:<span class="required">*</span></label><br />
<input type="text" id="textinput" name="email_contact" size="40" /><br />
<label for="textareainput">Question:<span class="required">*</span></label> <br />
<textarea id="textareainput" name="question_contact" rows="10" cols="65"></textarea><br />
{if captcha}
<span class="formtext">Please enter the word you see in the image:<span class="required">*</span></span><br /><br />
<label for="textareainput"> </label> <br />
{captcha}<br />
<label for="textareainput"> </label>
<input type="text" name="captcha" value="" /><br /><br />{/if}
<input type="submit" value="Submit" /><br /><br /><label for="submit"><span class="required">*</span>required field.</label>
{/exp:freeform:form}
