minor:  set the maxlength in the input fields