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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...