[form] replace old MinLength constraint with Length(min)