<?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: Calculation of date</title><link>https://www.infopathdev.com:443/forums/thread/123354.aspx</link><pubDate>Thu, 20 Aug 2020 01:08:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123354</guid><dc:creator>hjsh01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123354.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=123354</wfw:commentRss><description>Thank Hilary! That solve the issue.</description></item><item><title>Re: Calculation of date</title><link>https://www.infopathdev.com:443/forums/thread/123353.aspx</link><pubDate>Wed, 19 Aug 2020 17:25:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123353</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123353.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=123353</wfw:commentRss><description>So - I think you may have made an error and set the rules for item 5 on the extendedDate field? Rules run when a field changes, so you would want the rules set on managerExt and directorExt instead. :)</description></item><item><title>Calculation of date</title><link>https://www.infopathdev.com:443/forums/thread/123351.aspx</link><pubDate>Wed, 19 Aug 2020 00:56:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123351</guid><dc:creator>hjsh01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123351.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=123351</wfw:commentRss><description>Hi All, 

I am new to infopath and have met with some error that I am unable to resolved. 

I am doing up a template that will do date calculation automatically with the following condition. 

1. I have a date picker field called &amp;quot;startDate&amp;quot; which is set to default value now()
2. I have a &amp;quot;count&amp;quot; value field that is auto populated based on 1 field (type of item) that user select, so it can be 30 or 60 based on the selection
3. I have a second date picker field called &amp;quot;dueDate&amp;quot; which is set to default value addDays(startDate, Count)
4. I have 2 additional text fields, 1 called managerExt (30) and 1 called directorExt (60) - which populate different value
5. I have the last date picker field called &amp;quot;extendedDate&amp;quot; which i set 2 &amp;quot;Action&amp;quot; rules 
-&amp;gt; Condition managerExt &amp;quot;is not blank&amp;quot; -&amp;gt; set a field&amp;#39;s value  extendedDate = addDays(dueDate,30)
-&amp;gt; Condition directorExt &amp;quot;is not blank&amp;quot; -&amp;gt; set a field&amp;#39;s value  extendedDate = addDays(dueDate,60). 

Looking for help on point 5 as i am unable to run it. All date picker format have been preset with properties of &amp;quot;English (United States&amp;quot; 3/14/2001, (Do not display time)</description></item></channel></rss>