Hi i have a web form for my visitors to fill in and when they click on the submit button i want the user to be redirected to my thank you page. The problem is it doesn't work, please can you chack my code below to see where im goin wrong, iv also included the url of the page where its live so you can fill the form in and see the problem for yourself.
Page url: www.dorey-and-dorey.co.uk/contact.html
<form action="/cgi-bin/cgiemail/myemailform.txt" method="post">
<input type="hidden" name="redirect" value="http://www.dorey-and-dorey.co.uk/contact_thanks.html" />
<label for="Name">Full Name:</label>
<input type="text" name="Name" id="Name" />
<label for="City">Town:</label>
<input type="text" name="City" id="City" />
<label for="Email">Email:</label>
<input type="text" name="Email" id="Email" />
<label for="Message">Message:</label><br />
<textarea name="Message" rows="20" cols="20" id="Message"></textarea>
<input type="submit" name="submit" value="Submit" class="submit-button" />
</form>
many thanks,
Ben
Page url: www.dorey-and-dorey.co.uk/contact.html
<form action="/cgi-bin/cgiemail/myemailform.txt" method="post">
<input type="hidden" name="redirect" value="http://www.dorey-and-dorey.co.uk/contact_thanks.html" />
<label for="Name">Full Name:</label>
<input type="text" name="Name" id="Name" />
<label for="City">Town:</label>
<input type="text" name="City" id="City" />
<label for="Email">Email:</label>
<input type="text" name="Email" id="Email" />
<label for="Message">Message:</label><br />
<textarea name="Message" rows="20" cols="20" id="Message"></textarea>
<input type="submit" name="submit" value="Submit" class="submit-button" />
</form>
many thanks,
Ben
Comment