maxlength attribute for legal costs