Dashboards & Visualizations

Is there a way to uncheck the checkbox when the token associated to the checkbox is unset?

New Member


I have a dashboard where a user has to enter few details. Once details are entered a new panel opens displaying the data entered along with a checkbox which user has to check if data is correct. Currently after the first time user checks the checkbox, it remains checked when user needs to another different set of data. Though token is unset when user alter any of the already entered data, checkbox remains checked in the UI.

Is there a way to uncheck the checkbox when the token associated to the checkbox is unset? Or in other words is there a way to show unchecked checkbox whenever token associated to the checkbox is unset


Tags (1)
0 Karma


@christal1989, When your input is changed and you unset the check box token, make sure you unset the form token as well. For example

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

Please try out the following run anywhere example.

  <label>Uncheck CheckBox on Unset Token</label>
  <fieldset submitButton="false">
    <input type="text" token="tokText" searchWhenChanged="true">
        <unset token="tokApply"></unset>
        <unset token="form.tokApply"></unset>
    <input type="checkbox" token="tokApply" searchWhenChanged="true">
      <choice value="apply">Apply?</choice>
          <query>| makeresults
            | eval data="$tokText$"
            | eval dummyApply="$tokApply$"
            | fields - _time, dummyApply
| makeresults | eval message= "Happy Splunking!!!"
Get Updates on the Splunk Community!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...