Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
agarwal16
Contributor
Contributor

Variables

Hi Everyone,

i have a list box with only one selected value at a time:

i have 3 different location in list box.

on a single select value i have to show only that location data in the below input box object.

on selecting other location previous one will hide and show the current selected location.

how to solve this.

agarwal16_0-1661411737703.pngagarwal16_1-1661411774812.png

 

Labels (1)
7 Replies
MayilVahanan

HI

its not clear.

However, you can hide and show the input box based on the location selection.

MayilVahanan_0-1661412823595.png

 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
agarwal16
Contributor
Contributor
Author

Hi,

 

Suppose if i select hospital A in List box then hospital A data should come in text box. 

Next if the select hospital B then the respective hospital data should come in text box.

Like this so on.

 

Thanks 

MayilVahanan

HI

For that, you can simply write

=FieldName

Because, you can select only one info at a time in the list box

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
agarwal16
Contributor
Contributor
Author

Then after selecting one value in list box we have 3 text boxes for 3 hospitals then what conditions will be applied to those text boxes.

MayilVahanan

No, simply use one text box.

In that, you can write the formula to display the selected values (hospital)

=FieldName

When you select different values (hospital A or hospital B), it will change accordingly

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
agarwal16
Contributor
Contributor
Author

Sorry its input box not Text Box

MayilVahanan

You can assign it to the variable also.

MayilVahanan_0-1661487270930.png

 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.