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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...