Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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??