<?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: How to 'else' conditional format a field</title><link>https://www.infopathdev.com:443/forums/thread/119815.aspx</link><pubDate>Fri, 14 Sep 2018 09:19:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119815</guid><dc:creator>maxmum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119815.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119815</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;Hilary - I&amp;#39;m so sorry I forgot to feed back - this worked a charm thank you so much :)</description></item><item><title>Re: How to 'else' conditional format a field</title><link>https://www.infopathdev.com:443/forums/thread/119542.aspx</link><pubDate>Wed, 01 Aug 2018 09:28:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119542</guid><dc:creator>maxmum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119542.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119542</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Oh thank you so much for getting back to me - I will try this out now and let you know how it goes.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Kind regards&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to 'else' conditional format a field</title><link>https://www.infopathdev.com:443/forums/thread/119541.aspx</link><pubDate>Tue, 31 Jul 2018 15:53:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119541</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119541.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119541</wfw:commentRss><description>I think you may be talking about a validation rule, not a formatting rule - feel free to attach a copy of your form template under a reply on the Options tab if you wish. I&amp;#39;d probably use two validation rules for simplicity. The first would have two conditions, that Created is blank and Required by date is less than or equal to addDays(today(), 10). Then the second rule would be Created is not blank, and Required by date is less than or equal to addDays(Created, 10). Does that make sense?</description></item><item><title>How to 'else' conditional format a field</title><link>https://www.infopathdev.com:443/forums/thread/119540.aspx</link><pubDate>Tue, 31 Jul 2018 15:20:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:119540</guid><dc:creator>maxmum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/119540.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=119540</wfw:commentRss><description>&lt;p&gt;Hi There,&lt;/p&gt;&lt;p&gt;I am a complete novice at InfoPath and have inherited a form with no instructions on how it was written or set up or works etc and am desperately looking for help and walkthroughs and useful information as I am not receiving any on the job&amp;nbsp;training :(&lt;/p&gt;&lt;p&gt;I have an InfoPath&amp;nbsp;form that &amp;nbsp;sends requests to a department - who then triage and send notifications back and forth via workflow etc.&lt;/p&gt;&lt;p&gt;However -&amp;nbsp;the users then&amp;nbsp;asked for a&amp;nbsp;&amp;#39;required by&amp;#39; date field. So I added one for them. Then they came back and said &amp;#39;no it needs to not let them submit the form unless the&amp;nbsp;&amp;#39;required by&amp;#39; date is within 10 days&amp;#39;. so I set up a formatting&amp;nbsp;rule on the field to do&amp;nbsp;this:&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Required By Date is less than or equal to &lt;font face="Calibri" size="3"&gt;addDays(today(), 10)&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;It worked and did what they required.&lt;/p&gt;&lt;p&gt;However now they have come back because when the form is triaged at a later date - the rule runs again and the person triaging the request has to update the &amp;#39;Required by&amp;#39; field to 10 days after the date they are triaging!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;What a nightmare. So they are asking now for something akin to the following, however I have no idea how to write this in &amp;#39;InfoPath conditional formatting&amp;#39; and am hoping someone can help!&lt;/p&gt;&lt;p&gt;With my current knowledge this is all I can come up with and it obviously throws an error because I have no idea how to write the&amp;nbsp;syntax correctly:&lt;/p&gt;&lt;p&gt;Required by date is equal to or less than &lt;font face="Calibri"&gt;addDays(today(), 10, else if&amp;nbsp;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;‘ItemID’ = &amp;#39;blank&amp;#39;&amp;nbsp;then &amp;#39;RequiredBy&amp;#39; date addDays(Createdby(),
10)&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;Very confusing - but if the item has no ID then it is a new form and should just check if the required by date is 10 or more days in the future. If the ItemID field has been populated already (ie the form is being edited) then set the &amp;#39;Required By&amp;#39; field to the &amp;#39;Created&amp;#39; date + 10days&lt;/p&gt;&lt;p&gt;Thanks in advance for anyone taking the time to think this through I am finding it really hard to get my head around.&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>