Adding maxlength attribute to Text and Textarea input types.