How to open links in a new tab?

  • NStarOrchard
    Asked on April 15, 2019 at 4:31 PM

    Someone asked this before, and the answer is that it is fixed in newer JotForm versions, but it's not working for me....

    I have a text box at the bottom of my form which I have two links in...one is to a "Liability Waiver" page on our website. I can't see how to set that to open for folks in a new tab on their browser. When we've tested it, it opens in the same tab, and then when people go back to the JotForm they were working on, all numbers selected in product inventory widgets are gone. They'd have to start over!


    How can a direct the link to open in a new tab?

    The form is "2019 Classes & Events Registration" and you'll see the text box in question with the link to the Liability Waiver right toward the bottom of the form.

    Thank you!

  • Alan_D
    Replied on April 15, 2019 at 5:55 PM

    Links are open in the same tab as a default. You can change it adding this code into your link element.
    target = " _blank "
    1. Edit the text field.
    How to open links in a new tab? Image 102. Open the source code.How to open links in a new tab? Image 213. Add code into link element. Please care about the location of new code.How to open links in a new tab? Image 32
    This is my sample source code. You can paste it into your source code.
    <p><span style="font-size: 14pt;"><strong>Please read the class <a target="_blank" href="https://northstarorchard.com/release-liability" rel="nofollow noopener" rel="noopener noreferrer">liability waiver</a>.</strong>&nbsp;</span><span style="font-size: 14pt;">You can also review full&nbsp;<a target="_blank" href="https://northstarorchard.com/cooking-classes" rel="nofollow noopener" rel="noopener noreferrer">class information</a>.</span></p>