Inserting an anchor to return to the top of a form.

  • bhds
    Asked on June 19, 2018 at 11:25 AM

    I am trying to insert an anchor into one of our forms.  I have looked at various solutions in the support forum, but cannot get any of them to work.

    Towards the end of the form, I have the following text:

    Click here to return to the top of the form.

    The word here is a link, using the following:

    <a href="#topOfApplicationForm">here</a>

    In one of the text boxes at the top of the form I have this code:

    <a name="#topOfApplicationForm"></a>

    However, clicking on the link at the bottom of the form does not result in being taken to the top of the form.

    Please can you provide with suitable code for the following:

    (1)  The link that the person can click on to be taken to the top of the form.

    (2)  The code that I need to put at the top of the form.

    Thank you.

     
  • Elton Support Team Lead
    Replied on June 19, 2018 at 12:37 PM

    Just link it with your form ID #81614647265966, that should jump to the top.

    Example on the cloned form: https://form.jotform.com/81694501994972

    You might want to use this widget too https://widgets.jotform.com/widget/scroll_to_top. This would add a scroll to top button on your form.

  • bhds
    Replied on June 19, 2018 at 2:00 PM

    Thank you for your help on this - it worked perfectly.  Thank you also for telling me about the "scroll to top" widget, which I didn't know about.