I have a couple of toggle switches: one with Yes/No option and the other with Delivery/Purchase option. I know that you can use the ControlName.Checked but that just inserts True or False. How do I do this when these are the options.
Here are my toggle switch code for Purchase/Delivery:
<label class="switch">
<input class="switch-input" type="checkbox" id="orderselection" name="orderselection" runat="server" />
<span class="switch-label" data-on="Purchase" data-off="Delivery"></span>
<span class="switch-handle"></span>
</label>
and Yes/No:
<label for="exampleOrderNumber">Are Redelegations Authorized?<label for="exampleInputCity">:</label>
<label class="switch">
<input class="switch-input" type="checkbox" id="authredelegation" name="authredelegation" runat="server" />
<span class="switch-label" data-on="yes" data-off="no"></span>
<span class="switch-handle"></span>
</label>