Setting a Toggle output value when submitting the item
If(<toggle_control_name>.Checked, "Yes", "No"); // set to Yes if 'on', else No
Validate Toggle is enabled or disabled
<toggle_control_name>.Checked = true // on
<toggle_control_name>.Checked = false // off