# Jump Back Functionality for Button Link

**URL:** <https://community.hubspot.com/t/jump-back-functionality-for-button-link/56858>\
**Category:** Blog, Website & Page Publishing\
**Tags:** landing-pages\
**Created:** [May 12, 2022, 8:44pm UTC](https://community.hubspot.com/t/jump-back-functionality-for-button-link/56858 "2022-05-12T20:44:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MSmith28](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@MSmith28](https://community.hubspot.com/u/MSmith28)\
**Post date:** [May 12, 2022, 8:44pm UTC](https://community.hubspot.com/t/jump-back-functionality-for-button-link/56858/1 "2022-05-12T20:44:54Z")

</div>

Wanting a way to have our CTA button jump back to a form at the top of the page. Is there a way to do this? & if not, could it be added to the “link to” section?

 ![MSmith28_0-1652388223563.jpeg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/5/159ab662a1645c00509861c8cf1c2ad3c2aecd8a.jpeg)

---

<div class="post-metadata">

**Author:** ![TitiCuisset](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@TitiCuisset](https://community.hubspot.com/u/TitiCuisset)\
**Post date:** [May 16, 2022, 8:50am UTC](https://community.hubspot.com/t/jump-back-functionality-for-button-link/56858/2 "2022-05-16T08:50:29Z")

</div>

Hi @MSmith28

Thank you for reaching out!

I believe you could do that with [an anchor link](https://knowledge.hubspot.com/website-pages/insert-and-manage-anchor-links).

I want to tag some of our experts here - @Teun @LMeert @Gonzalo do you have any advice to share with @MSmith28 on this?

Thank you!

Best

Tiphaine

---

<div class="post-metadata">

**Author:** ![Teun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/teun/32/28739_2.png) [@Teun](https://community.hubspot.com/u/Teun)\
**Post date:** [May 16, 2022, 8:53am UTC](https://community.hubspot.com/t/jump-back-functionality-for-button-link/56858/3 "2022-05-16T08:53:30Z")

</div>

Hi @MSmith28 ,

The anchor link is the right approach. Set the ‘external link’ to #top and add a text block module to the top of the page with the following code:

`<div id="top"></div>`

---

<div class="post-metadata">

**Author:** ![LMeert](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lmeert/32/103847_2.png) [@LMeert](https://community.hubspot.com/u/LMeert)\
**Post date:** [May 16, 2022, 9:05am UTC](https://community.hubspot.com/t/jump-back-functionality-for-button-link/56858/4 "2022-05-16T09:05:06Z")

</div>

Hi @MSmith28,  
[@TitiCuisset](https://community.hubspot.com/t5/user/viewprofilepage/user-id/89150) is right, that is how you will manage a jump back button.  
Simply follow the steps of the post she linked above :

- Add an anchor to wherever you want your button to jump back to  
- Select “external” as your button link option

- In the url field, enter #youranchorname

A click on the button will jump back to where the anchor is located.  
However it will be a “brutal” jump, if you want smooth scrolling, you could add a css file to your template with the following rule :

```lia-code-sample
html {
 scroll-behavior : smooth;
}

```

Ludwig
