Set MaxLength on text fields.