### [Changing the Scrolling Speed on Multi-Page Forms](https://wpforms.com/developers/how-to-change-the-scrolling-speed-on-multi-page-forms/)

**Published:** November 11, 2020
**Author:** David Ozokoye

**Excerpt:** This article will help walk you through how to change the scrolling speed on multi-page forms when navigating from page to page. 

**Content:**

## Overview

Would you like to change the scrolling speed on multi-page forms? Clicking on the next page will have the next page load and scroll to the first question. However, you can easily adjust this speed with a small code snippet.

In this tutorial, we’ll walk you through the JavaScript needed to adjust this speed.

## Setup

Simply copy and paste this snippet to your site.

If you need assistance in how and where to add snippets to your site, [please see this tutorial](https://wpforms.com/developers/how-to-add-custom-php-or-javascript-for-wpforms/ "How to Add Custom PHP or JavaScript for WPForms").

```

/**
 * Adjust the scrolling speed on multi-page forms.
 *
 * @link https://wpforms.com/developers/how-to-change-the-scrolling-speed-on-multi-page-forms/
 */
 
function wpf_page_break_scroll() {
?>

**Categories:** Snippets

**Tags:** JS

---

