Hello!
I was wondering if it's possible to control the scroll bar using code?
Scenario:
I have a form with a set of fields that a user fills out. There are more fields than can be seen on a single screen, therefore I have a scroll bar so they can scroll down and up to enter data in the relevant fields.
Once submit form has been pressed,the app returns to the main page. When the user attemps to enter another ticket by navigating back to the "edit screen" page, the scroll bar remains in the same Y position as it was left on the previous ticket. Generally speaking, this is at the bottom of the ticket (as it gets completed from top to bottom). Is there any way that I can force the scrollbar back to the top?
Second scenario - User enters data in the fields. Scrolls to the bottom and once finished, hits the "submit" button. If the user has entered any incorrect data, the process is stopped and the error message shown, however the scroll bar does not return automatically to the error, leaving the user to have to scroll back up to find out where they went wrong.
Hope that makes sense, any help would be appreciated.
Kind regards,
Jason