Show multiple pictures for multiple-select field

  • 0
  • 1
  • Question
  • Updated 6 months ago
  • Answered
Hello, I am trying to show pictures for a multiple-select field. 

I know to do this for a single choice filed. As below. 

However, [Pictogram] is a multiple-select filed. That means, I have three or more selects at the same time, and I hope to show three or more pictures accordingly. 

Is there anyway to realize it? Thanks a lot. 



Case([Pictogram]],

"Corrosion",

"<img src=\"https://mycompany.quickbase.com/up/bnpaumwss/g/rb/eg/va/Corrosion.PNG\">";,

"Flame","<img src=\"https://mycompany.quickbase.com/up/bnpaumwss/g/rb/eg/va/Flame.PNG\">";

)
Photo of Ning Li

Ning Li

  • 670 Points 500 badge 2x thumb

Posted 6 months ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,546 Points 50k badge 2x thumb
Try this approach

List (" ", 
if(Contains([Pictogram], "Corrosion",
"<img src=\"https://mycompany.quickbase.com/up/bnpaumwss/g/rb/eg/va/Corrosion.PNG\">"),
if(Contains([Pictogram], "Flame","<img src=\"https://mycompany.quickbase.com/up/bnpaumwss/g/rb/eg/va/Flame.PNG\">")
)
 
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,546 Points 50k badge 2x thumb
List (" ", 
if(Contains([Pictogram], "Corrosion",
"<img src=\"https://mycompany.quickbase.com/up/bnpaumwss/g/rb/eg/va/Corrosion.PNG\">"),
if(Contains([Pictogram], "Flame", "<img src=\"https://mycompany.quickbase.com/up/bnpaumwss/g/rb/eg/va/Flame.PNG\">")
)
Photo of Ning Li

Ning Li

  • 670 Points 500 badge 2x thumb
Thank you so much! 

It helps a lot! 

By the way, Craig suggested me add ToText([Pictogram]). 
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,346 Points 50k badge 2x thumb
yes, it did need the ToText ...