Getting the "There are errors on the form. Please fix them before continuing." error even if the fields are filled