We are facing a problem with the end users as following:
80% of our forms are long, each time users will go up in order to press the save or the close button in the child list/form.
To solve this issue i created save and close buttons on each form footer with following script:
The problem is on save (in main page/form and on child list/form) :
If users forget required fields or getting some validation errors or notifications, they need to go up moving the page/form to check the errors list on top then go through the form again to fix those errors.
1)Are there a way to make the form go up alone and focus on the notifications section on save?
2)can i make those notifications show in the bottom of the page too (the notification error will be on top and bottom of the form in same time) for sure i will do it where my form is very long
Note that the save and close buttons in main form remains visible even if user move the form up or down in main form/Page
but if a child list is opened as dialogue form the save and close button are not visible when user move down the form/page.
Thank you i will try rhis solution and get back to you.
Concerning the focus on top or scroll to error on top,
Are there any solution for this specific request?
Sometimes it is better to go direct to top or to a certain control instead of cloning the error next to a submit button.
I need to know if the focus process or scrolling up is applicable? And how?
I tried this by adding a button control to the bottom of a form and added the below code to the Click handler. It doesn't work and this is the error I get in the console when I click on the "Go to Top" button as shown below.
I would like to hide/show the Go to Top button only when vertical scrollbar appears on the form. The form has different tabs with varying amounts of vertical content. Sometimes the vertical scrollbar of the form would appear based on which tab container I'm in. Is there a way to determine when vertical scrollbars appear in the form so that I can hide/show the Go to Top button accordingly?