How to scroll up automatically when button is clicked and error comes in long form
<p>I have a long form which is scrollable as its saves in when button is clicked, but how to scroll up if error comes?</p>

<p>I have made a form. Now it has 40 points to be listed. There are some dropdowns, some textboxes and some checkboxes. I have also made mandatory fields.
But now the button is in bottom. So I need to give functionality that if the user click the button and validation happens  it shows some error message and it automatically scrolls up. </p>

<p>I don't know how would it be possible. I am working on ASP.NET website using bootstrap design. </p>