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 submission causes submission of all states #70

Open
ollyfg opened this issue Dec 18, 2015 · 0 comments
Open

Form submission causes submission of all states #70

ollyfg opened this issue Dec 18, 2015 · 0 comments

Comments

@ollyfg
Copy link

ollyfg commented Dec 18, 2015

There are cases when you have the prompt in one state, set some inputs, and click "next". The inputs get ajaxed to the server and the prompt changes state to a new state with more inputs.
The issue arises when you fill in these inputs and submit them, and the f object in the submit_function(e,v,m,f) now contains all of inputs from both states. When two inputs are named the same, one gets a list of results, with no (obviously) guaranteed order.

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