Add location code validation