I looked at the site and underlying js and the form submit is apparently being handled by an ajax processor:
jQuery.noConflict()(function($){
$(document).ready(function ()
{ // после загрузки DOM
$("#ajax-contact-form").submit(function ()
{
// this указывает на нашу форму
var str = $(this).serialize(); // сериализуем данные для POST-запроса
$.ajax(
{
type: "POST",
url: "contact.php",
data: str,
success: function (msg)
{
$("#note").ajaxComplete(function (event, request, settings)
{
if (msg == 'OK') // Если сообщение отправлено, поблагодарим пользователя
{
result = '<div class="notification_ok">Message was sent to website administrator, thank you!</div>';
$("#fields").hide();
}
else
{
result = msg;
}
$(this).html(result);
});
}
});
return false;
});
});
});
If the 'msg == 'OK' is updating your .notification div, I'm not sure what you expect the redirect hook to do. As I mentioned earlier, the formit redirect post hook is probably just passing the redirected page content in the result but you are ignoring that on success and appending the div with this ajax call.
Not sure what I'm missing here unless you're working on another version in dev we can't see. If you call it directly w/o ajax does it redirect?
Quote from: paulp at Mar 25, 2013, 11:53 AMQuote from: nir-z at Mar 25, 2013, 10:43 AMThe thank you page is published?
Hi,
Yes published and accessible by the world and his dog ;o)
Quote from: paulp at Mar 25, 2013, 11:53 AMQuote from: nir-z at Mar 25, 2013, 10:43 AMThe thank you page is published?
Hi,
Yes published and accessible by the world and his dog ;o)