As the pop-ups are a per-layer configuration, it isn't possible to pass values from multiple layers directly. You could construct a link through back-end DBMS or geoprocessing scripts that join together the data that needs to go across and have that available in one layer, though.