#11 error out when form submitted with invalid input