<?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: macro input validation in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/macro-input-validation/m-p/173308#M1624</link>
    <description>&lt;P&gt;OK, trial and error finally paid off.&lt;/P&gt;

&lt;P&gt;My input variable is called st, so:&lt;/P&gt;

&lt;P&gt;validation = st="blah" OR st="blahblah"&lt;/P&gt;

&lt;P&gt;errormsg = usage: &lt;CODE&gt;mymacro(st)&lt;/CODE&gt; where st is blah or blahblah&lt;/P&gt;</description>
    <pubDate>Tue, 04 Mar 2014 15:02:44 GMT</pubDate>
    <dc:creator>narwhal</dc:creator>
    <dc:date>2014-03-04T15:02:44Z</dc:date>
    <item>
      <title>macro input validation</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/macro-input-validation/m-p/173307#M1623</link>
      <description>&lt;P&gt;I'm having trouble getting input validation to work on my macro.  I want to pass in a text string, not a number, but can't find any examples that appear to work for me.  Thoughts?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 14:52:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/macro-input-validation/m-p/173307#M1623</guid>
      <dc:creator>narwhal</dc:creator>
      <dc:date>2014-03-04T14:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: macro input validation</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/macro-input-validation/m-p/173308#M1624</link>
      <description>&lt;P&gt;OK, trial and error finally paid off.&lt;/P&gt;

&lt;P&gt;My input variable is called st, so:&lt;/P&gt;

&lt;P&gt;validation = st="blah" OR st="blahblah"&lt;/P&gt;

&lt;P&gt;errormsg = usage: &lt;CODE&gt;mymacro(st)&lt;/CODE&gt; where st is blah or blahblah&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 15:02:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/macro-input-validation/m-p/173308#M1624</guid>
      <dc:creator>narwhal</dc:creator>
      <dc:date>2014-03-04T15:02:44Z</dc:date>
    </item>
  </channel>
</rss>

