Error message is shown when the form is submitted.