I'm trying to populate a text field given a value in a numeric field that is calculated. For example. if the number in the field is less than or equal to 10, the text field would automatically say "There is low risk", if the number is greater than 10 but less than or equal to 20, the text field would automatically say, "there is moderate risk". I've attempted this using if then statements but i have been unsuccessful. Any help would be great. Thanks in advance.
case NumericField1.rawValue <= 10:
this.rawValue = "There is low risk";
case NumericField1.rawValue <= 20:
this.rawValue = "There is moderate risk";
this.rawValue = "There is high risk";