Range check ui validation