Not applicable

How do you scroll to the top of Nintex Form when there are validation errors in the form?

Currently, when there are validation errors, the Form retains its scroll position on postbacks. This behavior confuses the users especially if there are no visual errors in their displayable area of the Form. I tried to set the jQuery code to scroll to top in the Custom JavaScript section of the form, but it messes with the Form Validations.

Reply
5 Replies
BrianK
Forms Fledgling

Re: How do you scroll to the top of Nintex Form when there are validation errors in the form?

Any update on this? I have the same issue with a long form and would prefer to not make the user scroll all the way to the top on error.

0 Kudos
Reply
Not applicable

Re: How do you scroll to the top of Nintex Form when there are validation errors in the form?

Check out this post: tip: how to move validation error messages from top of page

Although it doesn't scroll to top, it makes the validation messages popup/hover so they can be seen straight away. You can modify the CSS to change how it displays.  End result is something like this:

Reply
cassymfreeman
Automation Master
Automation Master

Re: How do you scroll to the top of Nintex Form when there are validation errors in the form?

‌ did you ever resolve this in the end?  did you use the suggestion above?

Reply
BrianK
Forms Fledgling

Re: How do you scroll to the top of Nintex Form when there are validation errors in the form?

I'm not the OP but I implemented the above solution and used CSS to make the error message appear on the left margin. It works great.

Reply
mmulherin
Nintex Newbie

Re: How do you scroll to the top of Nintex Form when there are validation errors in the form?

Worked great for me thanks!

Reply