Modify input field validation