'There are errors on the form. Please fix them before continuing' error while submitting the form