Getting "Form not found" error message after clicking submit button