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 (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

That behavior sounds like Radio buttons.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That behavior sounds like Radio buttons.

---
If this reply helps you, Karma would be appreciated.
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, Karma would be appreciated.
0 Karma

sahil237888
Path Finder

Thanks Rich. it worked.

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...