261 comments found

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hello there is any way to make the file send-contact.php redirecto to a thank-you page???

I’m doing a campaign based on conversions and it is imperative.

Can you help me??? Tk!

ThemeMotive

Hey Plenoestudio,

Thank you for your comment.

There is more simple solution to your need.

Please jsut add in proper place in scripts.js:

window.location = "http://example.com/thank-you.html";

Details:

In scripts.js please replace from:


            if(status == "ok") {
                form.prepend('<p class="msg success"><a class="hide" href="#">hide this</a>' + msg + '</p>');
                form.find("input, select, textarea").val("");
                var valField = form.find(".select .value");
                var selectField = valField.siblings("select");
                var selectedText = selectField.find("option").eq(0).html();
                valField.html(selectedText);

            }

to:


            if(status == "ok") {
                form.prepend('<p class="msg success"><a class="hide" href="#">hide this</a>' + msg + '</p>');
                form.find("input, select, textarea").val("");
                var valField = form.find(".select .value");
                var selectField = valField.siblings("select");
                var selectedText = selectField.find("option").eq(0).html();
                valField.html(selectedText);
                window.location = "http://example.com/thank-you.html";

            }

Hope it helps!

Please let us know if we can be of further assistance.

Kind regards, ThemeMotive team

Default-user

It works very well!! thank you soo much!!! :)

ThemeMotive

You are welcome :)

by
by
by
by
by
by