How to open href on thank you page in same tab?

  • LBtaekwondo
    Asked on February 15, 2019 at 6:10 PM

    Upon submission, I want to display a thank you message and then redirect to the same form. Since there's not an option to both display thank you page AND redirect, I customized my thank you pages (I have 2, based on conditions) to include a link to restart the form, a simple href. I set the target to _self, but it keeps opening in a new tab. I tried target="_parent", too.

    Can you advise me how to make the link open in same tab?

    Or, is there a better way to reset the form after submission (that includes a thank you message)?

    Thanks!

  • Jed_C
    Replied on February 15, 2019 at 7:43 PM

    You'll be needing to embed a meta tag to redirect your page to another page. Please note that the thank you page source editor is stripping out the other codes due to security reasons so you won't be able to inject the meta tag for redirection.

    My suggestion is if you have a website, try creating a thank you page on that site and at the same time add the meta tag to automatically redirect.

    Here's the sample tag that you can add to your source code:

    <META http-equiv="refresh" content="5;URL=https://www.example.com"></meta>

    Sample screencast:

    1550277774redirect Screenshot 10

    I hope that helps. Let us know if you have any questions or if you need further assistance.