Dashboards & Visualizations

How to configure a dashboard to automatically deselect specific checkboxes if one is already selected?

sahil237888
Path Finder

Hi All,

Is there a way to configure a Splunk dashboard to automatically deselect specific checkboxes if one is already selected?

For example, let's say I have 4 checkboxes in my dashboard (checkbox1, checkbox2, checkbox3, checkbox4).
I want to create a rule like this: "When checkbox1 is selected, always deselect checkbox2 and checkbox4."

Labels (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

That behavior sounds like Radio buttons.

---
If this reply helps you, an upvote would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That behavior sounds like Radio buttons.

---
If this reply helps you, an upvote would be appreciated.

View solution in original post

0 Karma

sahil237888
Path Finder

not sure how to do this via radio button as all again radio buttons are getting selected at a time.
Any help in code (like unselecting others) will be appreciated.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

This code produces a set of three radio buttons where only one can be selected at a time.

<input type="radio" token="field1">
  <label>Testing</label>
  <choice value="1">Test</choice>
  <choice value="2">Test2</choice>
  <choice value="3">Test3</choice>
</input>
---
If this reply helps you, an upvote would be appreciated.
0 Karma

sahil237888
Path Finder

Thanks Rich. it worked.

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!