I want to return a enum value based on a field value.
For example:
If Free value field has the value '15', I want to return the enum value "1", because the Label of enum value 1 is: '10-20', because 15 is in the range of 10-20 I want to return that value.
I want to create a display method for this.
I guess I can accomplish this with a switch case scenario.
How can I best set this up?
