Note: everyone has seemed to have misunderstood this question. Literally, everyone. I am not creating some sign-up form, I am not collecting personal data. The form of which this is a part is used to filter a large list of people by certain conditions.
I have a query creator form that helps the user to create a SQL query. All the possible variations of the query are listed and the user has to pick their required variations and run the query.
For an individual, the user can choose the Gender. From the outside it seems like a Boolean operation (Male or Female) but it has one more variations.
- Individual is MALE
- Individual is FEMALE
- Individual's gender should not be considered (Can be MALE or FEMALE)
I have replaced radio buttons with a Switch like this:
How do I represent the 3rd state?