Displaying error messages outside the result box.