limit maxlength of input fields