<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Displaying a Message based on what date is selected</title><link>https://www.infopathdev.com:443/forums/thread/51111.aspx</link><pubDate>Thu, 28 Jan 2010 20:02:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51111</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51111.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=51111</wfw:commentRss><description>&lt;p&gt;I figured it out. Just write a rule if date contains -01-&amp;nbsp; or&amp;nbsp; -02-&amp;nbsp; or&amp;nbsp;&amp;nbsp; -03-&amp;nbsp; set field = Quarter 1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-04-&amp;nbsp;&amp;nbsp; or&amp;nbsp; -05-&amp;nbsp; or&amp;nbsp; -06-&amp;nbsp; set field = Quarter 2&amp;nbsp; and so on&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Date picker will never contain more that one date of the month with the &amp;quot;&amp;nbsp;- &amp;quot;&amp;nbsp;on bothe sides!&lt;/p&gt;</description></item><item><title>Re: Displaying a Message based on what date is selected</title><link>https://www.infopathdev.com:443/forums/thread/51103.aspx</link><pubDate>Thu, 28 Jan 2010 16:48:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51103</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51103.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=51103</wfw:commentRss><description>&lt;p&gt;What do you recommend that I do so that it works?&lt;/p&gt;</description></item><item><title>Re: Displaying a Message based on what date is selected</title><link>https://www.infopathdev.com:443/forums/thread/51098.aspx</link><pubDate>Thu, 28 Jan 2010 15:33:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51098</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51098.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=51098</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;XML dates are always in the format YYYY-MM-DD, so the month is represented in the 6th and 7th characters.&amp;nbsp; The way you have it set up now, your rule is just looking at the first character, which is the first digit of the year.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Displaying a Message based on what date is selected</title><link>https://www.infopathdev.com:443/forums/thread/51095.aspx</link><pubDate>Thu, 28 Jan 2010 15:15:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51095</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51095.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=51095</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve done that but it still won&amp;#39;t work. Can you tell me why the below syntax don&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Condition&lt;/p&gt;
&lt;p&gt;Date&amp;nbsp; Begins with&amp;nbsp;&amp;quot;1&amp;quot;&amp;nbsp; or&lt;/p&gt;
&lt;p&gt;Date Begins with &amp;quot;2&amp;quot;&amp;nbsp;&amp;nbsp; or &lt;/p&gt;
&lt;p&gt;Date Begins with &amp;quot;3&amp;quot;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Action&lt;/p&gt;
&lt;p&gt;=fx Set a Field&amp;#39;s value&lt;/p&gt;
&lt;p&gt;Field =&amp;nbsp;Quarter&lt;/p&gt;
&lt;p&gt;Value = concat(&amp;quot;LEAP Quarter 1 &amp;quot;, number(substring(., 1, 4)), &amp;quot;&amp;quot;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Displaying a Message based on what date is selected</title><link>https://www.infopathdev.com:443/forums/thread/51074.aspx</link><pubDate>Thu, 28 Jan 2010 05:38:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51074</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51074.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=51074</wfw:commentRss><description>&lt;p&gt;use rules on the date picker to set the value of text box.&lt;/p&gt;</description></item><item><title>Displaying a Message based on what date is selected</title><link>https://www.infopathdev.com:443/forums/thread/51057.aspx</link><pubDate>Wed, 27 Jan 2010 20:41:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51057</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51057.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=51057</wfw:commentRss><description>&lt;p&gt;1. I have a date picker in a repeating table and a text field.&lt;/p&gt;
&lt;p&gt;2. I want to display a message in the text box, based on the date I chose in the date picker.&lt;/p&gt;
&lt;p&gt;3. If the date falls in the 1st Quarter- message 1&lt;/p&gt;
&lt;p&gt;4. If the date falls in the 2nd Quarter - message&amp;nbsp;2&amp;nbsp;&lt;/p&gt;
&lt;p&gt;5. If the date falls in the 3rd Quater - message 3&lt;/p&gt;
&lt;p&gt;6. If the date falls in the 4th Quarter - message 4&lt;/p&gt;</description></item></channel></rss>