<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Setting a date field value that differs dependant on a drop down list selection</title><link>https://www.infopathdev.com:443/forums/thread/123250.aspx</link><pubDate>Mon, 27 Jul 2020 15:16:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123250</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123250.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123250</wfw:commentRss><description>You&amp;#39;ll need to use rules for this. On the field with the three options, add your logic for setting the date for each condition (i.e. field1 = new, do this, field1 = old, do that). You&amp;#39;ll also need to add submit logic to update the date for your additional logic. Whatever the button or action in the form that is taken to indicate &amp;quot;reviewed&amp;quot; you can either use substring formulas to increment just the month, or addDays to add a set number of days (realizing, of course, that months are never a set amount of days - you could use a secondary data source for that, but then you run into the leap year issue).</description></item><item><title>Setting a date field value that differs dependant on a drop down list selection</title><link>https://www.infopathdev.com:443/forums/thread/123247.aspx</link><pubDate>Mon, 27 Jul 2020 12:22:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123247</guid><dc:creator>maxmum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123247.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123247</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Apologies if in wrong area - mods feel free to move to the right place if necessary.&lt;/p&gt;&lt;p&gt;I have a form which needs to set a date field differently ( + x amount of days) dependant on which of&amp;nbsp;three options is contained in a field.&lt;/p&gt;&lt;p&gt;This (review by)&amp;nbsp;date field also&amp;nbsp;needs to be able to be &amp;nbsp;updated over and over - for example if the form need reviewing on a monthly basis, it should update to the month after once it has been reviewed.&lt;/p&gt;&lt;p&gt;Many thanks in advance for any assistance.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>