What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Links in Lightbox won't open within the Lightbox

    Asked by sshshomeworkhelp on January 11, 2014 at 08:53 PM


    I currently have a Lightbox set to automatically open with a "tutorial" of the features my site has to offer. Originally, I thought this was an issue related to anchors, but I realized that a link to another form also opens in a new tab, even when I've set it to open in the same window. I'm looking to have "Next" and "Back" links that jump to anchored sections within the same form, so when my users click those links, they will see the different anchored sections of the form in the same window in the lightbox.

    Any ideas?

  • Profile Image
    JotForm Support

    Answered by EltonCris on January 12, 2014 at 04:47 AM


    You should probably used Page Break tool instead of creating hyperlinks, that should resolved it. Page Break divides your form into pages, you can navigate through out the page by clicking next and back buttons.

    Page Break is under Survey Tools.

    Hope this helps. Regards!

  • Profile Image

    Answered by sshshomeworkhelp on January 12, 2014 at 11:20 AM

    Thanks for the response.

    Unfortunately, the Page Break tool won't shrink to fit into my page contents, so I'm using anchors to navigate from one section to another.

    When you view my form directly (http://form.jotform.co/form/40105013338843), you can click the links and they will go to each section within the same frame (nothing opens in a new window). However, you view the lightbox on my site (http://sshstutoring.webs.com/chat.html), these links will open in a new window.

    I've used anchors within iframes before and I haven't had link target issues, but in the lightbox, links don't seem to follow the targets I've specified in Jotform.

    Any help is greatly appreciated.

  • Profile Image

    Answered by on January 12, 2014 at 01:58 PM



    The solution is, select the name or id of button then we use HTML tag <a target="_blank" href=”url”>text name</a>.

  • Profile Image
    JotForm Support

    Answered by EltonCris on January 12, 2014 at 05:50 PM

    Hi Matt,

    I can see you are now using page break tool and it looks just fine on my end. It's pretty neat and works as expected.

    Is there anything we can help you about this? I am not also sure if links can be loaded inside the lightbox since lightbox is not loaded in an iframe container unlike you used iframe embed code so you might not be able to achieve what you want when you used hyperlinks.