<?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: Calculations to a Date Picker</title><link>https://www.infopathdev.com:443/forums/thread/54798.aspx</link><pubDate>Wed, 12 May 2010 15:13:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54798</guid><dc:creator>jhelfrich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54798.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54798</wfw:commentRss><description>&lt;p&gt;Actually....I got it.&lt;/p&gt;
&lt;p&gt;I inserted a date picker labeled projectDueDate&amp;nbsp;and set the value for today(). &lt;/p&gt;
&lt;p&gt;Created a rule with the condition that if projectDueDate is equal to today() Set&amp;nbsp;that fields value to addDays(today(), 42)&lt;/p&gt;
&lt;p&gt;That works.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks to all for input!&lt;/p&gt;</description></item><item><title>Re: Calculations to a Date Picker</title><link>https://www.infopathdev.com:443/forums/thread/54795.aspx</link><pubDate>Wed, 12 May 2010 14:54:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54795</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54795.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54795</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Browser compatible forms should be able to use Form Open rules.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Calculations to a Date Picker</title><link>https://www.infopathdev.com:443/forums/thread/54794.aspx</link><pubDate>Wed, 12 May 2010 14:45:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54794</guid><dc:creator>jhelfrich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54794.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54794</wfw:commentRss><description>&lt;p&gt;I am unable to create a rule on open, this is a browser compatible form.&lt;/p&gt;</description></item><item><title>Re: Calculations to a Date Picker</title><link>https://www.infopathdev.com:443/forums/thread/54770.aspx</link><pubDate>Wed, 12 May 2010 05:37:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54770</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54770.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54770</wfw:commentRss><description>&lt;p&gt;create a field say firsttime, initially it will be blank.&lt;/p&gt;
&lt;p&gt;on open and save write a rule &lt;/p&gt;
&lt;p&gt;if firsttime is blank&amp;nbsp;&lt;/p&gt;
&lt;p&gt;set the value of your calendar control to addDays(today(), 42)&lt;/p&gt;
&lt;p&gt;set firstvalue&amp;nbsp; to &amp;quot;secondtime&amp;quot;&lt;/p&gt;</description></item><item><title>Re: Calculations to a Date Picker</title><link>https://www.infopathdev.com:443/forums/thread/54766.aspx</link><pubDate>Tue, 11 May 2010 23:37:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54766</guid><dc:creator>bryanstrader</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54766.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54766</wfw:commentRss><description>&lt;p&gt;Can you access the node that stores the date and use a .setvalue(DateTime.Today.AddDays(42));&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Maybe behind the form_load event?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Calculations to a Date Picker</title><link>https://www.infopathdev.com:443/forums/thread/54765.aspx</link><pubDate>Tue, 11 May 2010 22:20:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54765</guid><dc:creator>jhelfrich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54765.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=54765</wfw:commentRss><description>&lt;p&gt;All I want to do is have a date picker set to returns todays date and add 6 weeks to it automatically when a new form is created. So if they fill out a new form on 5/11/2010...I want the date picker to show 6/22/2010 with the ability to edit the date before submission.&lt;/p&gt;</description></item></channel></rss>