Change boolean string values

1
I wanna change yes and no to high and low. Is there any way I can change this?
asked
3 answers
6

The proper way is to use an enumeration.

answered
2

Hi Danny,

I assume that you use a boolean type attribute for BTWCode.

A boolean represents true/false Yes/No and connot be changed

If you want to use different values, you can use an enumeration attribute type.
https://docs.mendix.com/refguide7/enumeration-values

answered
1

Hi Danny,

 

Robert is correct, the only way  to put custom strings for a single boolean attribute instead of yes/no is to use an enumeration. (as far as I know)

Just for completeness I would like to point out that you can change Yes/No globally to say e.g. True/False in Project -> System texts

This will change the captions in the whole application, i.e. for all boolean attributes that you have.

Cheers,

-Andrej

answered