<?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 can I  have a dropdown in a form that is loaded with only  predefined values ? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56307#M2975</link>
    <description>&lt;P&gt;In advanced XML, you will need to do something like the following, where you create a &lt;CODE&gt;&amp;lt;list&amp;gt;&lt;/CODE&gt; element for each item in the drop-down list.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;module name="SearchSelectLister"&amp;gt;
    &amp;lt;param name="staticFieldsToDisplay"&amp;gt;
      &amp;lt;list&amp;gt;
        &amp;lt;param name="value"&amp;gt;*&amp;lt;/param&amp;gt;
        &amp;lt;param name="label"&amp;gt;Any&amp;lt;/param&amp;gt;
      &amp;lt;/list&amp;gt;
    &amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 22 Oct 2012 22:23:49 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2012-10-22T22:23:49Z</dc:date>
    <item>
      <title>How can I  have a dropdown in a form that is loaded with only  predefined values ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56303#M2971</link>
      <description>&lt;P&gt;I need to populate a dropdown box in a form with a list of predefined values (action_value &amp;amp; action_name pairs).  This is a fixed set of values that are NOT based on any search.  Is there anyway to that?&lt;BR /&gt;
Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56303#M2971</guid>
      <dc:creator>fere</dc:creator>
      <dc:date>2020-09-28T12:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I  have a dropdown in a form that is loaded with only  predefined values ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56304#M2972</link>
      <description>&lt;P&gt;In simple XML, use a list of &lt;CODE&gt;&amp;lt;choice&amp;gt;&lt;/CODE&gt; tags in your input - here is an example&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fieldset&amp;gt;
    &amp;lt;input type="dropdown" token="email"&amp;gt;
        &amp;lt;label&amp;gt;Select a user&amp;lt;/label&amp;gt;
        &amp;lt;choice value="*"&amp;gt;Any&amp;lt;/choice&amp;gt;
        &amp;lt;choice value="happy@demo.com"&amp;gt;Happy&amp;lt;/choice&amp;gt;
        &amp;lt;choice value="sleepy@demp.com"&amp;gt;Sleepy&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
&amp;lt;/fieldset&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Sep 2012 05:50:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56304#M2972</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-09-11T05:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I  have a dropdown in a form that is loaded with only  predefined values ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56305#M2973</link>
      <description>&lt;P&gt;Thanks, it worked!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2012 16:06:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56305#M2973</guid>
      <dc:creator>fere</dc:creator>
      <dc:date>2012-09-11T16:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I  have a dropdown in a form that is loaded with only  predefined values ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56306#M2974</link>
      <description>&lt;P&gt;what about in advanced XML?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2012 22:29:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56306#M2974</guid>
      <dc:creator>dennywebb</dc:creator>
      <dc:date>2012-10-17T22:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I  have a dropdown in a form that is loaded with only  predefined values ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56307#M2975</link>
      <description>&lt;P&gt;In advanced XML, you will need to do something like the following, where you create a &lt;CODE&gt;&amp;lt;list&amp;gt;&lt;/CODE&gt; element for each item in the drop-down list.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;module name="SearchSelectLister"&amp;gt;
    &amp;lt;param name="staticFieldsToDisplay"&amp;gt;
      &amp;lt;list&amp;gt;
        &amp;lt;param name="value"&amp;gt;*&amp;lt;/param&amp;gt;
        &amp;lt;param name="label"&amp;gt;Any&amp;lt;/param&amp;gt;
      &amp;lt;/list&amp;gt;
    &amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 22 Oct 2012 22:23:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56307#M2975</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-10-22T22:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I  have a dropdown in a form that is loaded with only  predefined values ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56308#M2976</link>
      <description>&lt;P&gt;what if we need to populate a search for dropdown values in advance xml?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2012 06:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-have-a-dropdown-in-a-form-that-is-loaded-with-only/m-p/56308#M2976</guid>
      <dc:creator>smolcj</dc:creator>
      <dc:date>2012-11-06T06:37:26Z</dc:date>
    </item>
  </channel>
</rss>

