Splunk Search

How to show/hide the drop-down option based on a value selected in another drop-down?

New Member

I want to show/hide a drop-down based on a value selected from another drop-down.

  1. 1st drop-down having token, value and label. ------>$foo1$, value:Foo2 & Foo3, Lable:Foo.
  2. 2nd drop-down would appear while selecting a value of 1st dro-pdown Foo2; if I select value foo3, drop-down would be disappear. Even values would also disappear in the 2nd drop-down.
  3. give solution.
Tags (4)
0 Karma

New Member

Anyone having Jscript for disappering a dropdown while selecting a value from another dropdown.

0 Karma

SplunkTrust
SplunkTrust

4.profit

This can only be achieved using custom Javascript. You will have to create the HTML Dashboard or a specific javascript to include in the Simple XML view that checks the value of the first dropdown, and then adjust the second drop down based on that condition.

This is a good place to get started: http://dev.splunk.com/view/webframework-htmldashboards/SP-CAAAEM2

0 Karma