Dashboards & Visualizations

How to disregard default selection in Checkbox?

paviach
New Member

I have list of nested checkboxes which will display the panels based on the selection. But few panels are displaying without any selection. How do I restrict this behavior? Ultimately, panels should be displayed only when the checkboxes are selected and should hide when unchecked.
FYI,, I have added "depends="$token$" " in the code but it doesnt really work 100%. Please help!

0 Karma

niketn
Legend

@paviach try one of my older answers to similar panels where depends was for Text Boxes based on selection of particular Check Boxes. You have two options of (1) using JS or (2) using an independent search

https://answers.splunk.com/answers/681330/can-i-hideunhide-specific-text-boxes-using-a-singl.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

paviach
New Member

Thank you very much. Could you also give me pointers on how to validate the input with nested "multiselects".
Say, a, b and c are the multiselect options. Selecting 'a' should display another multiselect box.
The options in 2nd multiselects are 'aa,bb,cc'. Selecting 'aa' should display a panel. How do I achieve with independent search?

0 Karma
Get Updates on the Splunk Community!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Announcing the General Availability of Splunk Enterprise Security 8.1!

We are pleased to announce the general availability of Splunk Enterprise Security 8.1. Splunk becomes the only ...

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...