<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: simple date comparison yet it does not work !</title><link>https://www.infopathdev.com:443/forums/thread/85617.aspx</link><pubDate>Tue, 25 Dec 2012 10:53:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85617</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85617.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85617</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;amedjones:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;But for hiding a field, it seems the opposite is true .&amp;nbsp;&amp;nbsp;&amp;nbsp; So same case and I want to hide a field (section) if CutOffDate has not reached &lt;p&gt;&amp;nbsp;if CutOffDate &amp;gt; today () hide?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Yes, this is correct.&amp;nbsp; Later dates are greater than earlier dates, so January 2013 &amp;gt; December 2012 = true.&lt;/p&gt;&lt;p&gt;If you think of it as 2013-01 &amp;gt; 2012-12, then I think it makes perfect sense.&lt;/p&gt;</description></item><item><title>Re: simple date comparison yet it does not work !</title><link>https://www.infopathdev.com:443/forums/thread/85616.aspx</link><pubDate>Tue, 25 Dec 2012 08:13:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85616</guid><dc:creator>amedjones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85616.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85616</wfw:commentRss><description>&lt;p&gt;Thanks Jiimmy this work&lt;/p&gt;&lt;p&gt;But for hiding a field, it seems the opposite is true .&amp;nbsp;&amp;nbsp;&amp;nbsp; So same case and I want to hide a field (section) if CutOffDate has not reached &lt;/p&gt;&lt;p&gt;&amp;nbsp;if CutOffDate &amp;gt; today () hide?&lt;/p&gt;&lt;p&gt;I am abit&amp;nbsp;confused with the greater than and lower than operator in Infopath&amp;nbsp;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lets compare December 2012 and Jan 2013 .. which date is older? &lt;/p&gt;&lt;p&gt;Does December 2012 &amp;gt; January 2013 = true ?&amp;nbsp;&amp;nbsp; or is it opposite ? &lt;/p&gt;</description></item><item><title>Re: simple date comparison yet it does not work !</title><link>https://www.infopathdev.com:443/forums/thread/85605.aspx</link><pubDate>Mon, 24 Dec 2012 15:21:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85605</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85605.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85605</wfw:commentRss><description>&lt;p&gt;The first thing you described is the opposite of the second thing you described. Logically, I think the second description is probably the right one, and in that case, it would be&lt;/p&gt;&lt;p&gt;If CuttOffDate &amp;lt; today()&amp;nbsp;disable&lt;/p&gt;</description></item><item><title>simple date comparison yet it does not work !</title><link>https://www.infopathdev.com:443/forums/thread/85603.aspx</link><pubDate>Mon, 24 Dec 2012 06:33:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85603</guid><dc:creator>amedjones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85603.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85603</wfw:commentRss><description>&lt;p&gt;hi&lt;/p&gt;&lt;p&gt;I have a field that I want to disable based on today&amp;#39;s date but i just cannot get it to work &lt;/p&gt;&lt;p&gt;so For example&amp;nbsp; I have a&amp;nbsp; hidden field called &amp;quot;CutOffDate&amp;quot;&amp;nbsp;&amp;nbsp; with a value of 31/01/2013&amp;nbsp;&amp;nbsp;and if the cut off date is less than today&amp;#39;s date then disable&amp;nbsp;field X&amp;nbsp;.. my rules is as follow&amp;nbsp; ( In human language , I want to give my users all the way to Jan 31 to enter value in field X , on Feb 1, field x will be disabled &lt;/p&gt;&lt;p&gt;If&amp;nbsp; CutOffDate &amp;gt; today()&amp;nbsp;&amp;nbsp; disable &lt;/p&gt;</description></item></channel></rss>