implemented validate number range in other input type