def set_toggle(form_value):
    """
    Converts the input values on an HTML dropdown with values ``On, Off, DoNothing`` to boolean values.
    """
    if form_value == 'On':
        return True
    elif form_value == 'Off':
        return False
    else:
        return None