output errors on the form page