restrict input field to text only