HTML Anchors: A way to scroll to the top of the form by clicking the link

  • Profile Image
    Asked on April 21, 2017 at 07:30 AM

    I need to put anchors into longer forms (where users can click a link to jump to a specific point on the SAME form), however I can't get it to work.

    Within a text element I have the html

    <p><a name="chapter1"></a></p>  ((I also tried <p id="chapter1"></p>

    and at the top I have the link 

    <a target="_blank" href="#chapter1">Chapter 1</a>

    However when I click on the link on the published form nothing happens, it doesn't work to anywhere.  When I check the page source for the form the '<a name...> is missing, it appears to be hidden.

    Both the old method (A name) and the new (P id) don't appear to work with Jotform, and I am somewhat surprised there doesn't seem to be a widget for it (there are loads for Wordpress).

    This is much-needed on longer form, so can you please advise how anchors can be implemented on forms now?


  • Profile Image
    Answered on April 21, 2017 at 09:02 AM

    It seems like the anchor tag is no longer supported, you can achieve the same effect using conditional logic, and page breaks. Essentially you would break your form down into sections using page breaks, which will treat the form as if it different pages.  You can then use the forms conditions to jump to a certain page based on your criteria.



    Please see the links below that might be of help for you:


    Thank you.





  • Profile Image
    Answered on April 21, 2017 at 09:14 AM

    Thanks for the reply, although I'm disappointed to say the least.  Jotform used to support anchors, and it really is needed on longer forms (page breaks aren't always suitable).  I also don't understand why Jotform is proactively preventing them from being used?  I want the form user to be able to jump up/down on the form to a specific point quite easily, ideally by a floating menu.  Perhaps a widget could be released at some point.  In the meantime, unless there is a good or specific reason for not having them, I believe the issue of anchors should be put forward to the developers for consideration.

  • Profile Image
    Answered on April 21, 2017 at 11:42 AM

    Unfortunately, I must agree with my colleague, inserting anchor doesn't work anymore in the form. But, I will forward this thread to our backend team for a possible implementation of a similar feature.

    We will inform you once/if the feature is implemented.

    Thank you.