added maxlength attribute to text input fields and textareas