Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

er_mohit
Honored Contributor 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

Re: Show/hide multiple input box using macro

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

Re: Show/hide multiple input box using macro

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