Form field range validator