Reply To: redirect page for contact form

#1228
Livemeshlivemesh
Keymaster

Pls modify the js/main.js file at around line number 270 of the theme to handle page redirect on successful processing of input –

$("#content .contact-form").validate({
        rules: rules,
        messages: messages,
        errorClass: 'form-error',
        submitHandler: function (theForm) {
            $.post(
                theForm.action,
                $(theForm).serialize(),
                function (response) {
                    document.location.href='?page_id=163';
                    /*$("#content .feedback").html('
' + mo_theme.success_message + '
');*/ }); } });

Thanks