Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

rgvavihs
Valued Contributor

How to show and hide an image on clicking a list box value

Hi

How to show and hide an image on clicking a list box value?

5 Replies
Not applicable

Re: How to show and hide an image on clicking a list box value

Hi,

Will you only select a single value or multiple?

For single, you can use a conditional show calculation on the image such as

Only([MyFieldhere])='Myshowvalue'

For a range you can use index

Index(Getfieldselections([MyFieldhere]),'Myshowvalue')

something like that

hope that helps

Joe

stigchel
Honored Contributor

Re: How to show and hide an image on clicking a list box value

You can also associate some images to the values of the field in your list box by bundle info loading images linked to these. See attached example.

Not applicable

Re: How to show and hide an image on clicking a list box value

good point, that would work better for the single selections

rgvavihs
Valued Contributor

Re: How to show and hide an image on clicking a list box value

hi

I would like to display one image by selecting single value in a listbox .

Not applicable

Re: How to show and hide an image on clicking a list box value

For a single value, have a look at Piet's suggestion below then, should work nicely for you

Community Browser