You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
You are not logged in.
Pages: 1
Hi is it possible to redirect users to a thank you page instead of displaying the Thank You message in the form?
Thanks
Offline
Yes, that would be no problem. Open the index.php file. On lines 153 & 203 find:
$dMsg = $thanks;
AFTER that add the redirect to your thanks page. Depending on its location, use full or relative url:
header("Location: templates/thanks_page.html');
header("Location: [url]http://www.yoursite.com/thanks_page.html");
exit;
Don`t forget to use 'exit' or else it may not redirect.
Offline
Great Thanks it works.
For other people who want to use this there is a slight typo in the code above please use this:
header("Location: templates/thanks_page.html");
header("Location: http:/ /www.yoursite.com/thanks_page.html");
exit;
Again thanks
Offline
Typo where? Probably the way this forum formats the code. Glad it works anyway.
Offline
Pages: 1