Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to get two fields of a list box remain selected by default?

Hello Everyone,

I have a requirement in which two fields of a list box should remain selected when the App is opened. How do we achieve it??

Any help on this vinaybangari

Thanks.

1 Solution

Accepted Solutions
sibideepak
Creator II
Creator II

Hi Vinay ,

Go to Settings-->Document Properties-->Triggers-->On Open(Edit Actions) ,

Then Add-->Selection Field ,

Field : (Your Field Name)

Search String : (Value1|Value2)


Finish !!

View solution in original post

7 Replies
awqvuserneo
Creator
Creator

Hi Vinay,

There's a feature called: "Action / Trigger" that you can set by click "document properties", "trigger" tab.

You can then choose the "Action" when the application is opened, and set your listbox and its corresponding values from there.

Let me know if it answers your question, and if you cannot find it, let me know and I'll try to get a screenshot of it.

Best regards,

Anton

its_anandrjs

Hi,

Do you asking two values or the same list box selected or two different list box value to be selected. For this you have to use the field event triggers please check the post for this in the Qlik Community.

Regards

Anand

sibideepak
Creator II
Creator II

Hi Vinay ,

Go to Settings-->Document Properties-->Triggers-->On Open(Edit Actions) ,

Then Add-->Selection Field ,

Field : (Your Field Name)

Search String : (Value1|Value2)


Finish !!

Not applicable
Author

Thank you so much guys. Deepak it was exactly what I was looking for, thanks a lot. I have a small problem, even if we select 'Clear' option, the selection should not erase. Is that possible?? sibideepak‌‌

awqvuserneo
Creator
Creator

On the same page that Deepak suggested, there's another option to "Lock" the field. Once locked, even though users click "Clear", the values will still remain.

I believe the option is: "Lock" : (Your field name)

(Do this after you select the value).

-A

sibideepak
Creator II
Creator II

Hi ,

As Anton Wibowo suggested ,

Go to Settings-->Document Properties-->Triggers-->On Open(Edit Actions) ,

Then Add-->Selection Field-->Lock Field

Field Name : (Your Field to be locked)


Thanks

Not applicable
Author

Thanks a lot for the help guys.. That worked great.