How to open links in a new tab?

  • Profile Image
    NStarOrchard
    Asked on April 15, 2019 at 04: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!

  • Profile Image
    Alan_D
    Answered on April 15, 2019 at 05: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.
    15553650641.png2. Open the source code.15553651072.png3. Add code into link element. Please care about the location of new code.15553652123.png
    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 ugc" 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 ugc" rel="nofollow noopener" rel="noopener noreferrer">class information</a>.</span></p>