Redirect back to feedback submission page if isError==true when submitting responses #2300

Fixed webpage redirection from student home page to student feedback submission edit page when an user input error occurs.
Perhaps you can use an 'explaining variable' to clarify what `regkey == null` means.
http://refactoring.com/catalog/extractVariable.html