I'd made a Selection form for mysite and wanted to add my form results to a database.
In the case of a selection between multiple items I wanted to add to my existing buttons the ability to select an item in the dropdown from a button.
To do this I tried adding "$w('#dropdownN').selectedIndex=N;" to my buttons, this changes what's shown on the dropdown, but when submit(Order) is pressed dropdowns selected via this method are not written to the database.
Note: If the item is selected via the dropdown it is written to the database.
If you could tell me what code I'm missing that would be great.
Page in question: https://www.stripe21.com/copy-of-mobile-bundles (Please excuse the poor lining up of things, this will be fixed in the finished page)