How can I set an image that is on listitem, based on a responsevalue?
How can I set an image that is on listitem, based on a responsevalue?
I have a response with:
id: 1 or 2
name
User interface:
A list with listitem: an image + a label.
The response 'name' maps to the text on the label.
I want the image to be 'image 1.jpg' when the response 'id' is 1. And I want the image to be 'image 2.jpg' when the response 'id' is 2.
How can I do this?