added max char count to text fields