How to scroll to particular section based on the condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2022 12:14 AM
Hello All,
When opening the form based on the conditions I need to scroll to Particular section on the form. Can some one help how to achieve this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2022 04:09 AM
Hi Kri,
The support article here might help you achieve what you want, if you wrapped either the focus or the scrollIntoView() method in a relevant IF statement for your conditions. This is assuming you're doing this within the platform as opposed to the service portal.
If you're trying to achieve this on the service portal, I'd suggest using ui policies to show/hide fields based on selections. You could also use these in the platform of course, it depends on the exact problem you're trying to solve.