Trim validation