Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Lakshman_1031
Partner - Contributor
Partner - Contributor

Conditionally Showing Text Boxes

Hi All, 
I have one List box and 3 text boxes.

like in list box having C 1 , C 2, C 3, C 4 and Text box Having C 1, C 2, C 3 and C 4,

If i select C 1 in list box then display the C 1 text and if i clear all the sections then display All text boxes.

Please suggest me how to achieve this scenario.

 

Thanks & Regards, 

Lakshman

6 Replies
tresesco
MVP
MVP

C1 condition : Max(Index(ListBoxField,'C1'))

C2 condition : Max(Index(ListBoxField,'C2'))

...

Lakshman_1031
Partner - Contributor
Partner - Contributor
Author

Hi ,

Thanks for your replay.

In my list box having values like TM, MT, TMT like that . i am using Max(Index(ListBoxField,'C 1')) this condition

if i select TMT then Both TM and MT also coming  how to solve this particular situation. 

Please suggest me how to achieve this scenario.

 

Thanks & Regards,

lakshman

 

Navars
Creator
Creator

Hi

attached sample qvw file, check that and let me know if you are looking for the same.

 

Regards,

Sravan

Lakshman_1031
Partner - Contributor
Partner - Contributor
Author

Hi,

Thanks for your replay,

it is very helpful.

If i select 1 then display text box 1 and  2  text box 2 like that.

but i want to display if i select 3 then display first position and if i select 1 and 3 then display first 1 and second 3.

Normally if i select 4 reaming showing empty and it is showing 4th position. but i want to show first position. if i select 1 and 4 it is showing first position is text box 1 and  second position is  text box 4.

how to achieve this scenario.

Please suggest me how to achieve this seanrio.

Thanks & Regards,

lakshman 

 

 

Navars
Creator
Creator

Hi Lakshman,

I have changed the logic as per your requirement and attached the sample, have a look and let me know.

 

Regards,

Sravan.

Lakshman_1031
Partner - Contributor
Partner - Contributor
Author

Hi,

Thanks for your replay.

is it possible my list box having Strings like value, Sales , Sales info, Value data and All like that.

in list box having 10 values.

how is it possible and if my selection is 4 then showing first and my 2nd selection is 3 then it is showing 2 position.

in the same way if i select 'sales' then display sales and 'Value' then display value is showing 2nd position and if i select 'all' in list box then all boxes displaying.

can you please suggest me how to this scenario.

thanks & Regards,

Lakshman