I need to build a widget that will let you select and order checkboxes via drag-and-drop.
Will the order that inputs exist on the page at the time the user clicks "Submit" always be the order it will be sent to the server (and thus the ordering I can use in the backend)?
For example, if the page starts with this form arrangement:
<input type="checkbox" name="items" value="Item 1">
<input type="checkbox" name="items" value="Item 2">
And at some point the DOM changes so at the time of submit it looks like this
<input type="checkbox" name="items" value="Item 2">
<input type="checkbox" name="items" value="Item 1">
Am I guaranteed that "Item 2" will appear before "Item 1" when submitted to the server?