Changing the target of {edit link} in thankyou

  • bomboniere
    Asked on August 28, 2016 at 9:24 AM

    Hi 

    I need the {edit link} on my thank-you page to open up on it's own tab, target="_parent" but the code I get by clicking on the <> icon does not show the edit link as a hyperlink as usual.  How can I fix that?

     

  • Support_Management Jotform Support
    Replied on August 28, 2016 at 12:55 PM

    Hello - By default, the {edit_link} indeed opens a new tab. To get it to open on the same tab, try appending the Submission ID field {id} to your actual <a> tag, here's how it should look like:

    <a href="https://www.jotform.com/edit/{id}">This EDIT LINK will open on its own page/tab</a>

    (you won't need to set the target attribute)

    Just copy the codes above and place it on your Thank You page via the Source Code <> icon that you mentioned. And change the URL's text as needed.

    Changing the target of {edit link} in thankyou Image 1 Screenshot 20

    Here's a quick form showing that same behavior https://form.jotform.com/62385236645966

    Feel free to clone it (here's how) if you wanted to see how the Thank Page was setup.

    Let us know if that worked for you.