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

form 3.0.0 beta-.5 wrong action/redirect after submit #318

Closed
axel-rank opened this issue Jan 26, 2019 · 3 comments
Closed

form 3.0.0 beta-.5 wrong action/redirect after submit #318

axel-rank opened this issue Jan 26, 2019 · 3 comments
Assignees

Comments

@axel-rank
Copy link

In my modular form.md I set
action: /
After submitting it redirected me to the start/header of my homepage. I implemented a modal success box which shows the success message.
This was working in form 2.16.4
In form 3.0.0-beta.5 after formsubmit it redirects to /home/_contact which does not exist and results in an error 404, page does not exist message. I tried different routes for action parameter, but it seems action setting not working anymore.

@mahagr mahagr self-assigned this Jan 27, 2019
@mahagr
Copy link
Member

mahagr commented Jan 29, 2019

Action should be fixed now.

@axel-rank
Copy link
Author

Yes, working again!

@mahagr
Copy link
Member

mahagr commented Jan 29, 2019

Made some extra fixes to allow modular forms to work without action: / in them. In that case, the form will be submitted using the current URL.

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

2 participants