<?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: Set checkbox to True when either date field is empty/blank OR if drop list is empty/blank</title><link>https://www.infopathdev.com:443/forums/thread/78055.aspx</link><pubDate>Thu, 26 Apr 2012 22:54:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78055</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78055.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78055</wfw:commentRss><description>&lt;p&gt;Each XML has to be opened with the new template for the new field to be added - and under form options, check your versioning settings to make sure you have the form template set to upgrade existing XML or they will not have the field added when they are opened.&lt;/p&gt;</description></item><item><title>Re: Set checkbox to True when either date field is empty/blank OR if drop list is empty/blank</title><link>https://www.infopathdev.com:443/forums/thread/78054.aspx</link><pubDate>Thu, 26 Apr 2012 22:46:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78054</guid><dc:creator>hotb0x</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78054.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78054</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks!! I did not realize you could preview current xmls with a new forms. The form load rule will only apply when someone is opening the form correct... so If I add in a checkbox with a default of TRUE and publish would it add this field to all current xmls? Or are you saying each xml would have to be opened and saved in order for the new value to be seen?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Set checkbox to True when either date field is empty/blank OR if drop list is empty/blank</title><link>https://www.infopathdev.com:443/forums/thread/78051.aspx</link><pubDate>Thu, 26 Apr 2012 21:54:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78051</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78051.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78051</wfw:commentRss><description>&lt;p&gt;Yes, it will - but you can add a form load rule to handle for that.&lt;/p&gt;
&lt;p&gt;In your form load rules you could have a rule with a condition that if the date field or the drop down field are not blank, set the checkbox to false.&lt;/p&gt;
&lt;p&gt;Since you have existing forms / data, you should preview with some existing XML to make sure your changes work as you&amp;#39;d anticipate. Here&amp;#39;s a blog &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2009/03/13/first-do-no-harm.aspx"&gt;post&lt;/a&gt; on that - the screenshots are from IP 2007, but once you open the Form Options (from the File backstage in IP 2010), it is the same from there.&lt;/p&gt;</description></item><item><title>Re: Set checkbox to True when either date field is empty/blank OR if drop list is empty/blank</title><link>https://www.infopathdev.com:443/forums/thread/78049.aspx</link><pubDate>Thu, 26 Apr 2012 21:42:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78049</guid><dc:creator>hotb0x</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78049</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Yes that does make sense and I really appreciate the response, but let me ask you this... What I am doing is adding a new &amp;quot;pending&amp;quot; checkbox/field to a current infopath form. If I add it with the checkbox defaulted to true will it add it to all previously saved records as true?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Set checkbox to True when either date field is empty/blank OR if drop list is empty/blank</title><link>https://www.infopathdev.com:443/forums/thread/78048.aspx</link><pubDate>Thu, 26 Apr 2012 21:07:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78048</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78048.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78048</wfw:commentRss><description>&lt;p&gt;Hi - &lt;/p&gt;
&lt;p&gt;Well, the issue is that rules only fire when fields change.&lt;/p&gt;
&lt;p&gt;What I&amp;#39;d do is set the field that is bound to the checkbox to have a default value of true - after all, when the user first starts filling out the form, they won&amp;#39;t have entered a date, or selected from the drop down.&lt;/p&gt;
&lt;p&gt;Then, add rules to the date field and the drop down to set the checkbox field to false when they change and are not blank (and leave your rule for setting back to true, in case the user comes back and clears the date field or drop down).&lt;/p&gt;
&lt;p&gt;So - logic is:&lt;/p&gt;
&lt;p&gt;Checkbox field defaults to true&lt;br /&gt;User enters date - rule runs and sets checkbox field to false if date is not blank&lt;br /&gt;User clears date - rule runs and sets checkbox field to true if date is blank&lt;/p&gt;
&lt;p&gt;Same for the drop down field.&lt;/p&gt;
&lt;p&gt;Does that make sense?&lt;/p&gt;</description></item><item><title>Set checkbox to True when either date field is empty/blank OR if drop list is empty/blank</title><link>https://www.infopathdev.com:443/forums/thread/78047.aspx</link><pubDate>Thu, 26 Apr 2012 20:21:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78047</guid><dc:creator>hotb0x</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78047.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=78047</wfw:commentRss><description>&lt;p&gt;Sounds easy enough..I&amp;#39;ve also searched the forums but wasn&amp;#39;t able to find what I needed.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I looking to simply have a checkbox marked TRUE if date field is yet to be filled out or a drop down is yet to be filled out (drop down is linked to external data source). It works if I fill in a date then delete it or select a drop down and set it back to empty but not sure how to trigger it by default. Any suggestions?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve tried if FIELDNAME = is blank and also if FIELDNAME is not present. neither trigger by default.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>