In ArcGIS Online, under Configure Popups, you can create attribute expressions using Arcade. You can then add the expression to the list of attributes in the popup. However, I don't see it when accessing the map in Collector. Does Collector support the use of Arcade expressions?