Added restrictions to values. If values in range show result. Otherwise popup indicating which value is wrong.