Adding maxlength functionality to summary on textfields