jQuery-Impromptu icon indicating copy to clipboard operation
jQuery-Impromptu copied to clipboard

Form submission causes submission of all states

Open ollyfg opened this issue 9 years ago • 0 comments

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.

ollyfg avatar Dec 18 '15 02:12 ollyfg