Question
2
Replies
528
Views
Neal
Posted: April 15, 2019
Last activity: April 16, 2019
Closed
Set Focus to Top of Page
I have a requirement to set focus at the top of the page after a product has been added.
I simply want to perform the 'window.scrollTo(0,0)' (syntax might not be correct as I'm not a Java developer).
I've tried creating a function, activity, etc. with no luck.
ANY assistance would be greatly appreciated.
Please see the solution mentioned in below link. It suggested to make the topmost label in the harness as a hyperlink using span tag . You can apply css to it , if u don't want the hyperlink . This will work and you won't have to run the window.scrollTop() script explicitly.
https://community1.pega.com/community/product-support/question/how-focus-top-page-screen