Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
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.
 
					
				
		
 sibideepak
		
			sibideepak
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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 !!
 
					
				
		
 awqvuserneo
		
			awqvuserneo
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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
		
			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
		
			sibideepak
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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 !!
 
					
				
		
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
		
			awqvuserneo
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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
		
			sibideepak
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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
 
					
				
		
Thanks a lot for the help guys.. That worked great.  
