Dashboards & Visualizations

[CLOSED] Uncheck Radio Button

kitty_splunk
New Member

Hello,

How can I uncheck a radio button?

I have this piece of code:
-input- type="radio" token="operator"-
-label-(un)Check-/label-
-choice value="NOT">NOT-/choice-
-/input-

Once I made a search I'm unable to uncheck it unless I open the page again(not refresh it)

Is there any way to do that without adding another radio button?

Thanks!

Tags (1)
0 Karma

edsalm
Engager

Try this:

<input type="radio" token="DoSomething">
  <choice value="Yes">Do it</choice>
</input>   

and then to uncheck do this:

<unset token="DoSomething"></unset>
<unset token="form.DoSomething"></unset>

Hope this helps.

Regards!
Ed.

kitty_splunk
New Member

Seems like there is no way to uncheck a radio button since it was "made this way"

I'll try and use another type of box (checkbox) without html

Regards!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...