Scroll up to a textbox on a button click.

  • 10 June 2015
  • 2 replies
  • 26 views

Badge +1

Can you scroll up in the page to a textbox using custom Javascript in Nintex Forms?

I've created a Javascript function, I have the button call that function on Click, and the textbox ID is being made available to as a javascript variable.

However anytime I call the function it reloads the page and takes me to the top.

Thank You


2 replies

Userlevel 5
Badge +12

This document shows how to move focus to another control.  Make sure your button is of type javascript and you may want to disable validation on it as well.  JavaScript events in Nintex Forms

Thanks

Mike

Badge +1

Excellent, Thank you for the quick response Mike, that worked like a charm.

John

Reply