Avatar

Level 2

How about this?

if (this.rawValue > 1000) {

     this.rawValue = "10";

}

or a more abstract way: if a condition fails, update (or clear) the value of a field.

I usualy use prevText and newText with dropdowns.

Message was edited by: George Florentin