<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can I hide/unhide specific text boxes using a single checkbox? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413901#M27215</link>
    <description>&lt;P&gt;I've found a vanilla Simple XML workaround using the inputs token instead of &lt;CODE&gt;$value$&lt;/CODE&gt;, documented in the &lt;A href="https://answers.splunk.com/answers/506563/how-can-i-show-and-hide-panels-based-on-a-checkbox.html"&gt;old thread here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2019 06:14:28 GMT</pubDate>
    <dc:creator>jeffland</dc:creator>
    <dc:date>2019-04-02T06:14:28Z</dc:date>
    <item>
      <title>Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413895#M27209</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to get a checkbox to hide/reveal specific text boxes.&lt;/P&gt;

&lt;P&gt;for example say I have the following checkbox with three choices:&lt;BR /&gt;
- c1&lt;BR /&gt;
- c2&lt;BR /&gt;
- c3&lt;/P&gt;

&lt;P&gt;Furthermore,  I have three text boxes t1, t2, and t3.&lt;/P&gt;

&lt;P&gt;If c1 is ticked I want t1 to be revealed otherwise I want it to be hidden. &lt;BR /&gt;
c2 and c3 will perform the same function on t2 and t3 respectively.&lt;/P&gt;

&lt;P&gt;How would I go about monitoring the state of all the choices simultaneously in order to set/unset new tokens such that I can pass said tokens as depends attributes to reveal/hide the individual text boxes.&lt;/P&gt;

&lt;P&gt;Thank you for your time.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 00:31:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413895#M27209</guid>
      <dc:creator>sunnyB</dc:creator>
      <dc:date>2018-08-21T00:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413896#M27210</link>
      <description>&lt;P&gt;@sunnyB,&lt;/P&gt;

&lt;P&gt;You could use the &lt;CODE&gt;depends&lt;/CODE&gt; on the input type.&lt;/P&gt;

&lt;P&gt;E.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Check Boxes&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="checkbox" token="c1"&amp;gt;
      &amp;lt;label&amp;gt;C1&amp;lt;/label&amp;gt;
      &amp;lt;choice value="A"&amp;gt;A&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="checkbox" token="c2"&amp;gt;
      &amp;lt;label&amp;gt;C2&amp;lt;/label&amp;gt;
      &amp;lt;choice value="B"&amp;gt;B&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="checkbox" token="c3"&amp;gt;
      &amp;lt;label&amp;gt;C3&amp;lt;/label&amp;gt;
      &amp;lt;choice value="C"&amp;gt;C&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="t1" depends="$c1$"&amp;gt;
      &amp;lt;label&amp;gt;T1&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="t2" depends="$c2$"&amp;gt;
      &amp;lt;label&amp;gt;T2&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="t3" depends="$c3$"&amp;gt;
      &amp;lt;label&amp;gt;T3&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Aug 2018 02:24:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413896#M27210</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-08-21T02:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413897#M27211</link>
      <description>&lt;P&gt;This logic works, however three separate check boxes are created with the example source you have provided.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 04:06:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413897#M27211</guid>
      <dc:creator>sunnyB</dc:creator>
      <dc:date>2018-08-21T04:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413898#M27212</link>
      <description>&lt;P&gt;ok I thought you need 3 checkboxes. But if you want only one, we could do it by event handler as well.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="checkbox" token="C"&amp;gt;
      &amp;lt;label&amp;gt;C&amp;lt;/label&amp;gt;
      &amp;lt;choice value="c1"&amp;gt;C1&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="c2"&amp;gt;C2&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="c3"&amp;gt;C3&amp;lt;/choice&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;condition match="C==&amp;amp;quot;c1&amp;amp;quot;"&amp;gt;
          &amp;lt;set token="c1"&amp;gt;1&amp;lt;/set&amp;gt;
          &amp;lt;unset token="c2"&amp;gt;&amp;lt;/unset&amp;gt;
          &amp;lt;unset token="c3"&amp;gt;&amp;lt;/unset&amp;gt;
        &amp;lt;/condition&amp;gt;
        &amp;lt;condition match="C==&amp;amp;quot;c2&amp;amp;quot;"&amp;gt;
          &amp;lt;set token="c2"&amp;gt;1&amp;lt;/set&amp;gt;
          &amp;lt;unset token="c1"&amp;gt;&amp;lt;/unset&amp;gt;
          &amp;lt;unset token="c3"&amp;gt;&amp;lt;/unset&amp;gt;
        &amp;lt;/condition&amp;gt;
        &amp;lt;condition match="C==&amp;amp;quot;c3&amp;amp;quot;"&amp;gt;
          &amp;lt;set token="c3"&amp;gt;1&amp;lt;/set&amp;gt;
          &amp;lt;unset token="c2"&amp;gt;&amp;lt;/unset&amp;gt;
          &amp;lt;unset token="c1"&amp;gt;&amp;lt;/unset&amp;gt;
        &amp;lt;/condition&amp;gt;        

      &amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Aug 2018 05:03:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413898#M27212</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-08-21T05:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413899#M27213</link>
      <description>&lt;P&gt;@sunnyB, Since you are having a Single Check Box with Multiple Values, you would run into issue with Check Box &lt;CODE&gt;&amp;lt;change&amp;gt;&lt;/CODE&gt; Event Handler where only the first selected value is picked up by as token value. Similar limitation also exist for Multiselect and is documented. Refer to previous Splunk Answers Post for similar issue: &lt;A href="https://answers.splunk.com/answers/506563/how-can-i-show-and-hide-panels-based-on-a-checkbox.html"&gt;https://answers.splunk.com/answers/506563/how-can-i-show-and-hide-panels-based-on-a-checkbox.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Following are two workarounds for this issue:&lt;BR /&gt;
&lt;STRONG&gt;Option 1)&lt;/STRONG&gt; Use independent search to set the required tokens based on the values returned from Check Box input with multiple options. Refer to previous post for this approach: &lt;A href="https://answers.splunk.com/answers/641411/hidedisplay-panels-using-multiselect.html"&gt;https://answers.splunk.com/answers/641411/hidedisplay-panels-using-multiselect.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Option 2)&lt;/STRONG&gt; Use JavaScript to set the tokens  manually through code. Refer to old answer: &lt;A href="https://answers.splunk.com/answers/314505/how-to-pass-selected-checkbox-values-to-drilldown.html"&gt;https://answers.splunk.com/answers/314505/how-to-pass-selected-checkbox-values-to-drilldown.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For your use case you can try the following run anywhere example:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5591iFD5F84EF5CC19C20/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;PS: The condition where all choices in the Check Box are unchecked is handled within Check Box's &lt;CODE&gt;&amp;lt;change&amp;gt;&lt;/CODE&gt; event handler as there will be no token set for the check box and hence independent search will not execute.&lt;/P&gt;

&lt;P&gt;Following is the complete Simple XML code for run anywhere example for you to test:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;Checkbox with mutiple Values&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;&amp;lt;/fieldset&amp;gt;
  &amp;lt;!-- Independent Search to Set Multiple Tokens from Single Check Box--&amp;gt;
  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;| makeresults 
| fields - _time 
| eval checkBox=if(isnull($tokShowTextBox|s$),"",$tokShowTextBox|s$) 
| eval checkBox=replace(checkBox,"\s",",")
| eval tokShowT1=case(match(checkBox,"c1"),"true")
| eval tokShowT2=case(match(checkBox,"c2"),"true")
| eval tokShowT3=case(match(checkBox,"c3"),"true")&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;-1s&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
    &amp;lt;done&amp;gt;
      &amp;lt;condition match="$job.resultCount$==0"&amp;gt;
        &amp;lt;unset token="tokShowT1"&amp;gt;&amp;lt;/unset&amp;gt;
        &amp;lt;unset token="tokShowT2"&amp;gt;&amp;lt;/unset&amp;gt;
        &amp;lt;unset token="tokShowT3"&amp;gt;&amp;lt;/unset&amp;gt;
      &amp;lt;/condition&amp;gt;
      &amp;lt;condition&amp;gt;
        &amp;lt;eval token="tokShowT1"&amp;gt;case(isnotnull($result.tokShowT1$),"true")&amp;lt;/eval&amp;gt;
        &amp;lt;eval token="tokShowT2"&amp;gt;case(isnotnull($result.tokShowT2$),"true")&amp;lt;/eval&amp;gt;
        &amp;lt;eval token="tokShowT3"&amp;gt;case(isnotnull($result.tokShowT3$),"true")&amp;lt;/eval&amp;gt;
      &amp;lt;/condition&amp;gt;
    &amp;lt;/done&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;input type="checkbox" token="tokShowTextBox"&amp;gt;
        &amp;lt;label&amp;gt;Select Textbox to Show&amp;lt;/label&amp;gt;
        &amp;lt;choice value="c1"&amp;gt;C1&amp;lt;/choice&amp;gt;
        &amp;lt;choice value="c2"&amp;gt;C2&amp;lt;/choice&amp;gt;
        &amp;lt;choice value="c3"&amp;gt;C3&amp;lt;/choice&amp;gt;
        &amp;lt;delimiter&amp;gt; &amp;lt;/delimiter&amp;gt;
        &amp;lt;change&amp;gt;
          &amp;lt;!-- Handle Unset all tokens when no Check Box is checked. As independent search will not run --&amp;gt;
          &amp;lt;condition match="isnull($tokShowTextBox$)"&amp;gt;
            &amp;lt;unset token="tokShowT1"&amp;gt;&amp;lt;/unset&amp;gt;
            &amp;lt;unset token="tokShowT2"&amp;gt;&amp;lt;/unset&amp;gt;
            &amp;lt;unset token="tokShowT3"&amp;gt;&amp;lt;/unset&amp;gt;          
          &amp;lt;/condition&amp;gt;
        &amp;lt;/change&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;input type="text" token="t1" depends="$tokShowT1$"&amp;gt;
        &amp;lt;label&amp;gt;T1&amp;lt;/label&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;input type="text" token="t2" depends="$tokShowT2$"&amp;gt;
        &amp;lt;label&amp;gt;T2&amp;lt;/label&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;input type="text" token="t3" depends="$tokShowT3$"&amp;gt;
        &amp;lt;label&amp;gt;T3&amp;lt;/label&amp;gt;
      &amp;lt;/input&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;div&amp;gt;tokShowTextBox: $tokShowTextBox$&amp;lt;/div&amp;gt;
        &amp;lt;div&amp;gt;tokShowT1: $tokShowT1$&amp;lt;/div&amp;gt;
        &amp;lt;div&amp;gt;tokShowT2: $tokShowT2$&amp;lt;/div&amp;gt;
        &amp;lt;div&amp;gt;tokShowT3: $tokShowT3$&amp;lt;/div&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please try out and confirm!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 09:29:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413899#M27213</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-08-21T09:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413900#M27214</link>
      <description>&lt;P&gt;This works as I intended, thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 01:10:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413900#M27214</guid>
      <dc:creator>sunnyB</dc:creator>
      <dc:date>2018-08-22T01:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413901#M27215</link>
      <description>&lt;P&gt;I've found a vanilla Simple XML workaround using the inputs token instead of &lt;CODE&gt;$value$&lt;/CODE&gt;, documented in the &lt;A href="https://answers.splunk.com/answers/506563/how-can-i-show-and-hide-panels-based-on-a-checkbox.html"&gt;old thread here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 06:14:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413901#M27215</guid>
      <dc:creator>jeffland</dc:creator>
      <dc:date>2019-04-02T06:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413902#M27216</link>
      <description>&lt;P&gt;It seems that the &amp;lt;input&amp;gt; element's &amp;lt;change&amp;gt; event fires when that object is first rendered, however it's &amp;lt;initialValue&amp;gt; is not set until after this occurs.  I found this can be overcame by pre-setting the checkbox token within the form or dashboard's &amp;lt;init&amp;gt; block.  The following Simple XML then uses "eval" and "match" to catch the change conditions and sets the display tokens to either "true" or null (&amp;lt;unset&amp;gt;).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Checkbox with mutiple Values (3)&amp;lt;/label&amp;gt;
  &amp;lt;init&amp;gt;
    &amp;lt;set token="C"&amp;gt;c1,c2,c3&amp;lt;/set&amp;gt;
  &amp;lt;/init&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="checkbox" token="C"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
      &amp;lt;choice value="c1"&amp;gt;C1&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="c2"&amp;gt;C2&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="c3"&amp;gt;C3&amp;lt;/choice&amp;gt;
      &amp;lt;initialValue&amp;gt;c1,c2,c3&amp;lt;/initialValue&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;condition&amp;gt;
          &amp;lt;eval token="c1"&amp;gt;if(match($C$,"c1"),"true",null&amp;lt;/eval&amp;gt;
          &amp;lt;eval token="c2"&amp;gt;if(match($C$,"c2"),"true",null&amp;lt;/eval&amp;gt;
          &amp;lt;eval token="c3"&amp;gt;if(match($C$,"c3"),"true",null&amp;lt;/eval&amp;gt;
        &amp;lt;/condition&amp;gt;
      &amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="t1" depends="$c1$"&amp;gt;
      &amp;lt;label&amp;gt;T1&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="t2" depends="$c2$"&amp;gt;
      &amp;lt;label&amp;gt;T2&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="text" token="t3" depends="$c3$"&amp;gt;
      &amp;lt;label&amp;gt;T3&amp;lt;/label&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;html&amp;gt;
      &amp;lt;div&amp;gt;C: $C$&amp;lt;/div&amp;gt;
      &amp;lt;div&amp;gt;c1: $c1$&amp;lt;/div&amp;gt;
      &amp;lt;div&amp;gt;c2: $c2$&amp;lt;/div&amp;gt;
      &amp;lt;div&amp;gt;c3: $c3$&amp;lt;/div&amp;gt;
    &amp;lt;/html&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Nov 2019 15:27:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413902#M27216</guid>
      <dc:creator>scombs</dc:creator>
      <dc:date>2019-11-06T15:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413903#M27217</link>
      <description>&lt;P&gt;Just as an additional option, I use this method to toggle inputs on and off&lt;BR /&gt;
I put the inputs in separate panels to the fieldset&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;fieldset submitButton="true" autoRun="true"&amp;gt;
    &amp;lt;input type="time" token="timeToken" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
      &amp;lt;default&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="checkbox" token="showFreeText"&amp;gt;
      &amp;lt;label&amp;gt;Free Text Search&amp;lt;/label&amp;gt;
      &amp;lt;choice value="1"&amp;gt;Yes&amp;lt;/choice&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;condition value="1"&amp;gt;
          &amp;lt;unset token="showFilters"&amp;gt;&amp;lt;/unset&amp;gt;
        &amp;lt;/condition&amp;gt;
        &amp;lt;condition match="isnull(showFreeText)"&amp;gt;
          &amp;lt;unset token="showFreeText"&amp;gt;&amp;lt;/unset&amp;gt;
          &amp;lt;set token="showFilters"&amp;gt;foo&amp;lt;/set&amp;gt;
        &amp;lt;/condition&amp;gt;
      &amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel depends="$showFilters$"&amp;gt;
      &amp;lt;input type="dropdown" token="tokenFilter1" searchWhenChanged="true"&amp;gt;
        &amp;lt;label&amp;gt;Choose field to filter on&amp;lt;/label&amp;gt;
        &amp;lt;fieldForLabel&amp;gt;key&amp;lt;/fieldForLabel&amp;gt;
        &amp;lt;fieldForValue&amp;gt;field&amp;lt;/fieldForValue&amp;gt;

    blah blah 

       &amp;lt;/panel&amp;gt;
       &amp;lt;panel depends="$showFreeText$"&amp;gt;
        &amp;lt;input type="text" token="tokenFreeSearch" searchWhenChanged="true"&amp;gt;
          &amp;lt;label&amp;gt;free text Search&amp;lt;/label&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;By using the match isnull(tokenName) it will be true if the check box is UNticked&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 03:19:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/413903#M27217</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2019-12-19T03:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/506054#M33621</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&lt;/P&gt;&lt;P&gt;That was amazing work. I want to learn more how independent search works and steps in which this code is running. Would you please explain.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 20:38:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/506054#M33621</guid>
      <dc:creator>deepak_93</dc:creator>
      <dc:date>2020-06-24T20:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide/unhide specific text boxes using a single checkbox?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/615452#M50495</link>
      <description>&lt;P&gt;This appears to be the cleanest way, thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 19:40:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-hide-unhide-specific-text-boxes-using-a-single-checkbox/m-p/615452#M50495</guid>
      <dc:creator>weidertc</dc:creator>
      <dc:date>2022-09-30T19:40:15Z</dc:date>
    </item>
  </channel>
</rss>

