set the corresponding filed maxlength to default
if no format is present