diff --git a/lms/static/js/student_account/views/FormView.js b/lms/static/js/student_account/views/FormView.js index d603b70..4442d1f 100644 --- a/lms/static/js/student_account/views/FormView.js +++ b/lms/static/js/student_account/views/FormView.js @@ -179,6 +179,11 @@ var edx = edx || {}; $msg.html( html.join('') ); this.element.show( this.$errors ); + + // Scroll to error messages + $('html,body').animate({ + scrollTop: this.$errors.offset().top + },'slow'); }, submitForm: function( event ) {