Comments (7)
Oh, right. Now I remember where I saw that error message.
There's a fix in PR #13.
from forms-plugin.
@daun OK Thanks for your precious help, I can confirm that PR #13 fix form submission!
Can't wait to have it merged 👍
from forms-plugin.
Apologies for the inconvenience. Must have forgotten to update the plugin during some refactoring.
Fixed in v1.1.1 by @fracsi.
from forms-plugin.
I'm pretty sure you need an action
on that form so that swup knows where to send the data.
from forms-plugin.
Thanks for the help!
Actually without the action
attribute the form is submitted to the same page.
But following your advice I tryed to set it but the same error is still here.
Tryed different options without success:
- relative url (action="/contact")
- absolute url (action="https://127.0.0.1:8000/contact")
- different relative url (action="/thanks")
- different absolute url (action="https://127.0.0.1:8000/thanks")
Error is linked to var link = new _Link.Link(actionAttribute);
in function onFormSubmit(event)
from forms-plugin.
@Err0r404 could you please specify how to apply the patch exactly because it doesn't work for me and I'm still facing the same issue !
from forms-plugin.
I have manually included src
folder in my project, manually applied the correction from PR, compiled to get new scripts in dist
and then used those new compiled scripts
from forms-plugin.
Related Issues (10)
- Submitting to same URL results in error HOT 1
- Doesn't submit textareas
- Contact form 7 (WP) submitting twice HOT 4
- Improve detection of new-tab submissions HOT 1
- Improve detection of form submission into new tab HOT 5
- plugin may not take note of any custom transition attribute? HOT 1
- Feature: support file uploads HOT 5
- Feature: support overriding form behavior from submitter element
- Override focus element for inline forms
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forms-plugin.