Form is giving "There are errors in the form, please correct them before continuing." message upon submit