Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process function is not called when submitting, redirects to home page #371

Closed
selay opened this issue Oct 18, 2015 · 1 comment
Closed

Comments

@selay
Copy link

selay commented Oct 18, 2015

All was good until recently.
Our customer reported that when they submit a form, it goes to home page and there is no submission recorded in the admin.
While investigating, I found out that the post data are submitted to Form function and it is there, but it never reaches "process" function?
How is process function supposed to be called?

@selay
Copy link
Author

selay commented Oct 19, 2015

Actually, I found out what happened.
Seems on validation error, it redirects back to the form if referrer is set. Otherwise, it goes to homepage, losing form data.
Our sites use referrer =never in html meta tag, which breaks the form.

@selay selay closed this as completed Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant