How to set scrollTop on form in backend using Client Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 02:49 AM
Hi,
is there a way how to set scroll position (scrollTop) using client script on form?
The problem is that when I try to execute .scrollTop() on window object it returns undefined. Maybe it is connected with height of body – which is 100%.
Does somebody have an experience with setting scroll position inside the form iframe using DOM in client script?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 02:53 AM
are you using in ui page client script or form client script ? if you are on form client script, did you set "isolate script" field as false ?
can you add some screenshot ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 03:07 AM
Yes, I am able to do the DOM manipulation – Isolated field is unchecked.
But firstly I was trying to set scrollTop from window object using console – it returned undefined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 03:09 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 03:15 AM
kindly have a look on below thread. it has mentioned an example.