<?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: Input box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Input-box/m-p/207148#M63006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One my colleagues just sent me this so I cannot take credit..... I believe this is what you were looking for (no macro).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contrain your input box with the following:&lt;/P&gt;&lt;P&gt;len(date(date#($))) &amp;gt; 0 AND date#($) &amp;lt; date#(vEndDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provide an Error message:&lt;/P&gt;&lt;P&gt;='Invalid Date. Use format: ' &amp;amp; (DateFormat) &amp;amp; ' and Start Date must be less than End Date'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Jun 2011 11:55:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-04T11:55:04Z</dc:date>
    <item>
      <title>Input box</title>
      <link>https://community.qlik.com/t5/QlikView/Input-box/m-p/207144#M63002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Using the custom option in the input box . We can check the input box value against the constraint set.&lt;/P&gt;&lt;P&gt;Is it possible to restrict the user to enter only the specific format in the input box . Like only the date format can be entered in the input box?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 09:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-box/m-p/207144#M63002</guid>
      <dc:creator />
      <dc:date>2011-02-09T09:02:33Z</dc:date>
    </item>
    <item>
      <title>Input box</title>
      <link>https://community.qlik.com/t5/QlikView/Input-box/m-p/207145#M63003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to restrict user to enter only valid value. you have to use macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 09:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-box/m-p/207145#M63003</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-09T09:05:43Z</dc:date>
    </item>
    <item>
      <title>Input box</title>
      <link>https://community.qlik.com/t5/QlikView/Input-box/m-p/207146#M63004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You can set a custom rule, for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Index($, '/') &amp;gt; 1 and Index($, '.') &amp;gt; 1&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;So the variable will accept "3/3.3" or "A.B/C" but not "10000"&lt;/P&gt;&lt;P&gt;You can customize it to your needs and date format.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 09:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-box/m-p/207146#M63004</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-09T09:42:21Z</dc:date>
    </item>
    <item>
      <title>Input box</title>
      <link>https://community.qlik.com/t5/QlikView/Input-box/m-p/207147#M63005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunil and Miguel,&lt;/P&gt;&lt;P&gt;I have used the below macro for to check the same. It is checking whether it is in date format or not. but not able to define as dd/mm/yyyy or mm/dd/yyyy.&lt;/P&gt;&lt;P&gt;Sub Checkformat&lt;BR /&gt;Set v = ActiveDocument.Variables("Date")&lt;BR /&gt;value=v.getcontent.String&lt;BR /&gt;result= (IsDate(Value))&lt;BR /&gt;Msgbox(result)&lt;BR /&gt;Msgbox(value)&lt;BR /&gt;End sub&lt;/P&gt;&lt;P&gt;Any suggestions on the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 13:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-box/m-p/207147#M63005</guid>
      <dc:creator />
      <dc:date>2011-02-09T13:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Input box</title>
      <link>https://community.qlik.com/t5/QlikView/Input-box/m-p/207148#M63006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One my colleagues just sent me this so I cannot take credit..... I believe this is what you were looking for (no macro).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Contrain your input box with the following:&lt;/P&gt;&lt;P&gt;len(date(date#($))) &amp;gt; 0 AND date#($) &amp;lt; date#(vEndDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provide an Error message:&lt;/P&gt;&lt;P&gt;='Invalid Date. Use format: ' &amp;amp; (DateFormat) &amp;amp; ' and Start Date must be less than End Date'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jun 2011 11:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Input-box/m-p/207148#M63006</guid>
      <dc:creator />
      <dc:date>2011-06-04T11:55:04Z</dc:date>
    </item>
  </channel>
</rss>

