Hi,
I'm working on a Pop-Up configuration using an Arcade expression to display related fields based on attributes in another field. I'm trying to use a When expression that states, when the well location field equals a particular string, display related fields, otherwise display nothing. There are multiple related fields associated with one well location.
I keep getting the following error:

I've tried various versions of my expression to get rid of the error but nothing seems to be working. Here are examples of what I have tried so far:
When(($feature.wellLocation == 'A3'), ($feature.A3ArapCycles) && (TextFormatting.NewLine) && ($feature.A3ArapFlow), None )
When(($feature.wellLocation == 'A3'), ($feature.A3ArapCycles && TextFormatting.NewLine && $feature.A3ArapFlow), None )
When(($feature.wellLocation == "A3"), ($feature.A3ArapCycles && TextFormatting.NewLine && $feature.A3ArapFlow), None )
When(($feature.wellLocation == "A3"), ($feature.A3ArapCycles || TextFormatting.NewLine || $feature.A3ArapFlow), None )
Could someone take a look and let me know if anything stands out? I've looked at a lot of documentation but can't seem to figure out why I'm getting this error. I'm relatively new to Arcade so any information/ideas would be greatly appreciated.
Thanks!!
Jenna