Netlify forms do not work on the page as expected. When I submit the form on the page //connect it works but I expect it to work on /connect page only.
hi there, can you explain a little more why you need the double slash? that’s an unusual URL pattern. is there a specific thing you are trying to accomplish? thanks!
I am not sure why the route //connect gets resolved. I think Gridsome can resolve pages like //connect, and for some reason the form does not work. The built pages are structures as follows: dist/connect/index.html.
Interesting. Those URL’s are the same file on our servers, so this sounds like something inside gridsome rather than on our servers, but let’s debug a bit further.
The issue seems to be from Gridsome. I disabled javascript in the browser and the form submissions worked as expected. To fixed the issue, I’m currently handling the form submission via Ajax.