name input behavior