Just change the datatype in your entity for option1 ,2 ,3 from string to Boolean , for the text on General tab inside the Checkbox set the label to be displayed based on an attribute or fixed.
The above is a possibility, but I would suggest changing the domain model slightly to be as such:
- Question ID (int or auto number)
- Question name (string)
- 1 to * relationship with “Answer” (relationship)
- Name (string)
- Selected (boolean, default false)
And in case it's a quiz where there's a right or wrong answer, you can also use a boolean to determine if something is the correct answer.
The above solution saves you the trouble of using labels to name your options, and allows you to manage the options front-end.
You do have a few good answers.
And before continue; please take a look at this https://gettingstarted.mendixcloud.com/link/path/38
If you do not want to change the Option 1, Option 2, and Option 3 attributes to boolean attributes, then you could always add an enumeration value named Options and make “Option 1”, “Option 2”, and “Option 3” your enumeration values.