Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 vishsaggi
		
			vishsaggi
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi, PFA qvw file with 3 fields and 3 text boxes. I need to hide show these text boxes when field values are selected, but if the last selection is on 2nd field only 2nd text box should be shown the other two should be hidden. Like i have FieldA, FieldR, FieldT with respective text boxes. When i select a value in FieldR, R text box should show, if i select FieldA, FieldA text box should show and R textbox should be hidden and so on. So this is based on last selection made on specific field.
Any help much appreciate it.
 abhijith8692
		
			abhijith8692
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		You can use getselectedcount function to get the desired output, i.e in the layout of the A text box you can set the Show as conditional and use the expression as GetSelectedCount (A)>=1 it will then show/hide the text box on the basis of this.
.png) Brett_Bleess
		
			Brett_Bleess
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		The piece that may be missing though is if the other field still has a selection, how to hide that text object, as that was the requirement as I read through things, but I have no idea off the top of my head how best to go at that, so hopefully someone else will potentially chime in, but you may want to confirm I am on the right track regarding the rest of the requirement/use case here, as that should let folks know you need more info.
Regards,
Brett
