<?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 Validate all values in an input box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Validate-all-values-in-an-input-box/m-p/945914#M325844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got an input box where the user will introduce a list of values that I will filter in some field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values must be numbers with two decimals maximum and they'll be separated by the symbol "|". So an example of a correct entry would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4565.34|445|125543.56|90&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and an example of a wrong entry would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4565.34|445|125543.56|90.776 or d4565.34|445|125543.56|7aab....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to check if one item of the list meets the conditions, but I don't know how to iterate it to all items in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2015 10:51:20 GMT</pubDate>
    <dc:creator>j_nlucas</dc:creator>
    <dc:date>2015-10-09T10:51:20Z</dc:date>
    <item>
      <title>Validate all values in an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Validate-all-values-in-an-input-box/m-p/945914#M325844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got an input box where the user will introduce a list of values that I will filter in some field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values must be numbers with two decimals maximum and they'll be separated by the symbol "|". So an example of a correct entry would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4565.34|445|125543.56|90&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and an example of a wrong entry would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4565.34|445|125543.56|90.776 or d4565.34|445|125543.56|7aab....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know how to check if one item of the list meets the conditions, but I don't know how to iterate it to all items in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 10:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Validate-all-values-in-an-input-box/m-p/945914#M325844</guid>
      <dc:creator>j_nlucas</dc:creator>
      <dc:date>2015-10-09T10:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Validate all values in an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Validate-all-values-in-an-input-box/m-p/945915#M325845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use this expression to give a true or false value depending on whether each list value is a number or not&lt;/P&gt;&lt;P&gt;so it is easy to extend from there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=Concat( 'IsNum(''' &amp;amp; SubField( vInputVar ,'|' , ValueLoop(1,SubStringCount(vInputVar,'|')+1)) &amp;amp; ' '')', ' AND ' ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It can be generalized into a "function-variable" by using parameters too...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 12:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Validate-all-values-in-an-input-box/m-p/945915#M325845</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-09T12:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Validate all values in an input box</title>
      <link>https://community.qlik.com/t5/QlikView/Validate-all-values-in-an-input-box/m-p/945916#M325846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a solution that is good enough:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;($)&amp;gt;0 and len(purgechar($,'0123456789.|')) = 0 and index($,'..')=0) or len($)=0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 12:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Validate-all-values-in-an-input-box/m-p/945916#M325846</guid>
      <dc:creator>j_nlucas</dc:creator>
      <dc:date>2015-10-09T12:59:30Z</dc:date>
    </item>
  </channel>
</rss>

