Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
er_mohit
Master II
Master II

Show/hide multiple input box using macro

hii.

how can i get multiple inputbox in condition of show/hide using macro???.

thanks in advance.....

2 Replies
Not applicable

Hi,

use conditionla option in layout tab of inputbox properties.

In condiational box use variable to set either true or false

ex:

flagVariable = 1 to display

flagVaribale = 0 to hide

use this variable as many inputboxes as u needed.

using macro u set it to either 1 or 0

macros:

sub test0
set v = ActiveDocument.GetVariable("flagVariable")
v.SetContent "0",true

end sub

sub test1
set v = ActiveDocument.GetVariable("flagVariable")
v.SetContent "1",true

end sub

Niranjan

er_mohit
Master II
Master II
Author

but... if i want to select one input box and rest of all input box is hide. then how it possible??