I believe that is what we are doing, but when the form is submitted, it is not passing the value of the switches. We want to use these switch controls:
<label><span>Any mispicks found?</span>
<input data-role="switch" data-bind="value: addFormData.mispicks" id="mispicks"/>
But OpenEdge refuses to take the true/false values from the switches, and the form doesn't submit at all. Our workaround was to use a drop-down instead:
<select data-bind="value: addFormData.liquidsUpright" data-role="dropdownlist">
When we do it this way, OpenEdge is pleased to receive all of the values, but we don't like the look or the inconvenience of having to use many drop downs.
We are using a Progress Data Provider in our application. Pretty much all of the code is automatically generated code from building it within the Views service. If this is not enough information, I could send you some of the files from the application.