title: Display enum value based on field value
body: <p>I want to return a enum value based on a field value.</p>
  
  <p>For example:</p>
  
  <p>If <code>Free value field</code> 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.</p>
  
  <p>I want to create a display method for this.</p>
  
  <p>I guess I can accomplish this with a <code>switch case</code> scenario.<br>
  How can I best set this up?</p>