Added maxlength to inputs