added maxlenghethe attributes to inputs