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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...