How do I change the value of the "toggled" options?

I have a toggle button with the labels "Yes" and "No" but it is still sending the value "on" or "off" to the database.
Any help?
1 person has
this question
+1
This topic is no longer open for comments or replies.