Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Attend QlikWorld 2020 and hear keynote speaker, Malcolm Gladwell. $300 savings extended to February 9th Learn More
Highlighted
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
Contributor II

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

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
Contributor

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

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

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

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
Contributor II

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

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

Not applicable

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

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
Contributor

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

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
Contributor II

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

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

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

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