<?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: How to give some default value in checkbox Pulldown if nothing is selected in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-give-some-default-value-in-checkbox-Pulldown-if-nothing/m-p/110135#M7906</link>
    <description>&lt;P&gt;You can pull up the "OR " part into the "outerTemplate" param like so: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="outerTemplate"&amp;gt;OR ($value$)&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then when there are no terms to output and $MyValue$ dissappears, the OR will disappear with it. &lt;/P&gt;</description>
    <pubDate>Wed, 18 Jun 2014 16:33:54 GMT</pubDate>
    <dc:creator>sideview</dc:creator>
    <dc:date>2014-06-18T16:33:54Z</dc:date>
    <item>
      <title>How to give some default value in checkbox Pulldown if nothing is selected</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-give-some-default-value-in-checkbox-Pulldown-if-nothing/m-p/110134#M7905</link>
      <description>&lt;P&gt;I am using a checkbox Pulldown and using &lt;/P&gt;

&lt;P&gt;&lt;OBJECT&gt;&lt;PARAM name="name" /&gt;MyValue&lt;BR /&gt;
&lt;PARAM name="template" /&gt;a.appId="$value$" &lt;/OBJECT&gt;&lt;/P&gt;

&lt;P&gt;I am using "MyValue" to pass the selected values in the checkbox Pulldown to MYSQL query as an OR condition.&lt;/P&gt;

&lt;P&gt;ex: select * from abc wherer name = 'xyz' OR $MyValue$&lt;/P&gt;

&lt;P&gt;but the problem is, if no value is selected in the checkbox Pulldown nothing is being passed by $MyValue$ and the query looks as shown below and is not able to execute&lt;/P&gt;

&lt;P&gt;ex: select * from abc wherer name = 'xyz' OR &lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2014 16:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-give-some-default-value-in-checkbox-Pulldown-if-nothing/m-p/110134#M7905</guid>
      <dc:creator>JaideepK</dc:creator>
      <dc:date>2014-06-18T16:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to give some default value in checkbox Pulldown if nothing is selected</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-give-some-default-value-in-checkbox-Pulldown-if-nothing/m-p/110135#M7906</link>
      <description>&lt;P&gt;You can pull up the "OR " part into the "outerTemplate" param like so: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="outerTemplate"&amp;gt;OR ($value$)&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then when there are no terms to output and $MyValue$ dissappears, the OR will disappear with it. &lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2014 16:33:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-give-some-default-value-in-checkbox-Pulldown-if-nothing/m-p/110135#M7906</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2014-06-18T16:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to give some default value in checkbox Pulldown if nothing is selected</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-give-some-default-value-in-checkbox-Pulldown-if-nothing/m-p/110136#M7907</link>
      <description>&lt;P&gt;Thank you so much for the fast reply it worked for me....&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2014 16:50:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-give-some-default-value-in-checkbox-Pulldown-if-nothing/m-p/110136#M7907</guid>
      <dc:creator>JaideepK</dc:creator>
      <dc:date>2014-06-18T16:50:11Z</dc:date>
    </item>
  </channel>
</rss>

