Is input field validation possible?