Validate min-max for textarea