-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement. Form Validation scrolling #446
Comments
You can use errorSummary at top of page. |
I am not talking about error summary and especially at the top of the page. I am talking about case when you are clicking at submit button at the bottom of the page and forgot to fill field what is out of visible screen area. In this case you don't see any validation errors and you don't know if you submitted successfully or not. |
Yes. Now got idea. Vote to do this. |
Fixed. |
* upstream: Fixed build break. Fixes issue yiisoft#194: Added Application::catchAll. added missing default to getValue in boostrap tabs \yii\widgets\Menu improvement Fixes issue yiisoft#467: allow view file to be absent as long as the themed version exists. better auto scrolling. Fixes issue yiisoft#446: automatically scroll to first error.
Line 504 of yii.activeform.js has an error and scrolling doesn't work:
|
When I submit very long form and first/second field is not valid. The field is out of screen and error not visible.
So I propose to improve ActiveForm to scroll page to the first occurred error if any. So validation issues are visible all time.
The text was updated successfully, but these errors were encountered: