Cannot get anchor tags to work

  • Profile Image
    muuv
    Asked on November 01, 2017 at 10:36 AM

    I cannot seem to get anchor tags to work. I want users to be able to jump to the bottom of a long form. I used a text box and in the source code created the:

    <a name="bottom"><a>

    and I can see the little anchor icon when I'm saving. Then, I add at the topa link to the anchor:

    <p><a target="_blank" href="https:// https://form.jotform.com/72904816514155#bottom" ></a></p>


    But it doesn't seem to work. It simply returns me to the same page, but doesn't jump to the bottom. :(

    Thanks for the help.


  • Profile Image
    dreiquevada
    Answered on November 01, 2017 at 11:20 AM

    You are using an incorrect attribute for the a tag. You should use the attribute "href" to point to the destination of the link. I tried to inspect your form. Try to remove the name="bottom" attribute and use this one: target="_blank" href="#cid_71"

    cid_71 is the ID where your bottom button (Save & Next) is located in your page. The reason you are being returned to the same page is because you are using an absolute link (https://form.jotform.com/72904816514155#bottom) for your  tag plus a wrong ID. If you want to use it this way, change the bottom in your link into the proper ID of the bottom button element. In this case it will become https://form.jotform.com/72904816514155#cid_71. Also try to remove the target attribute if you don't want to open the link in a new tab in the browser.