added maxlength to forms