Skip to main content
Nintex Community Menu Bar
Question

Wizard next step button taking me to the bottom of next page

  • Jul 11, 2024 11:53 AM UTC
  • 4 replies
  • 66 views
  • Translate All

Forum|alt.badge.img+3

Hi All,

I have a wizard with 4 steps. When I click ‘Next’ button on step1, it is taking me to the bottom of second page and I need to scroll up to to see the fields at the top of the page. It is happening for ‘Previous’ step too and on all pages. 

Expectation: upon clicking ‘Next’ button, it should take me to the top of the next page. 

Could you please help me with this issue? Thanks!

4 replies

Forum|alt.badge.img+18

I believe that skuid will automatically navigate to the first editable input field on the wizard. If your first input field is at the bottom, that is what you will see. Is that what is happening for you?

Translate

Forum|alt.badge.img+3
  • Author
  • Jul 11, 2024 12:04 PM UTC

Thanks for your response, Matt! All are editable fields on the wizard. 

Translate

Forum|alt.badge.img+3
  • Author
  • Jul 11, 2024 12:04 PM UTC

Added the below as In-Line (Snippet) and used it as last action for the Next button. Then it is taking me to the top of the page. 

var $ = skuid.$;

var topPosition = $(‘.nx-page’).offset().top;


// Scroll to top of window

$(‘body’).scrollTop(0);

Translate

Forum|alt.badge.img+4
  • Jul 11, 2024 12:04 PM UTC

Thank you for sharing this with the community Sarath. This will probably be helpful for someone else in the future!

Translate