Expand my Community achievements bar.

Set focus to first field in tab order, or set Scroll position to 0

Avatar

Former Community Member
Our form instantiates one page at a time. The Master page has Back, Next and Goto buttons at the top and bottom of each page. The problem is that if the user clicks one of these buttons at the bottom, we delete the current page, then instantiate the desired page and the new desired page always displays at the same scroll position, IE the bottom half of the page. The user wants the buttons to always display the new desired page from the top of the page.

I have been unable to find a good way to do this. I want to keep any script on just the Master page instead of adding script to the first field in each page. Since setFocus doesn't appear to work for the initialize event, I'm not sure which event this would go on anyway.



Thanks
0 Replies