Please accept my apologies if i'm not clear, I will try my best.
I have EE v 2.9.2 installed and I am using the built in email contact form.
However, I am trying to get it to re-direct to a thank you page rather than show the ajax message block.
Here is my code:
{exp:email:contact_form user_recipients="no" return="http://www.pixelsandcode.co.uk" recipients="[email protected]" charset="utf-8" form_class="form form--full d-showgrid"}
<fieldset class="controls controls--left">
<label for="name" class="controls__label">What's your name?</label>
<input type="hidden" name="message[]" value="--Name--" />
<input class="controls__control" type="text" id="name" name="message[]" size="40" maxlength="35" value="" placeholder="Benjamin Franklin" />
</fieldset>
<input name="submit" type='submit' value='Submit Form' class="btn btn--primary" />
{/exp:email:contact_form}
This is actually a stripped back view, I have other fields but even like this I get no redirect.
Is there something really obvious that I am missing here?
return="contact/thank-you"
redirect="5" return="contact/thank-you"