cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying image Dynamically based on value

0 Kudos

Hi,

I have a requirement to display the image based on the positive value and negative value display in text box in design studio. Can anyone please let me know how to implement it.

denis_konovalov
Active Contributor
0 Kudos

I have fixed your tags, please select more careful next time.

Accepted Solutions (0)

Answers (2)

Answers (2)

sinaei
Contributor
0 Kudos

Hi,


You also can read the text (Text_getText) and then convert it to integer (Convert.stringToInt)
Then with if and else statement you can hide and show your image.
You need to write this script and call it when you need it.

Thanks
Sepide

former_member197738
Participant
0 Kudos

Hi Amjad,

  1. Create 2 variable.
  2. Assign 1st value 0 (this is your static value)
  3. 2nd variable capture value you want to flag as positive or neg.
  4. USING if-else statement "<" or ">=", compare captured value to your static value, you created with first variable.
  5. in same statement show/hide your desired image.