<?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: Is the Dirty flag set to False when a form is submitted ?</title><link>https://www.infopathdev.com:443/forums/thread/28298.aspx</link><pubDate>Fri, 25 Apr 2008 16:46:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28298</guid><dc:creator>Albert</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28298.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=28298</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t know, but according to the documentation:&lt;/p&gt;
&lt;p&gt;XDocument.IsDirty: A read-only property that returns a &lt;b&gt;Boolean&lt;/b&gt; value that indicates whether the data in a Microsoft Office InfoPath 2007 form has been modified since it was last saved. Read-only&lt;/p&gt;
&lt;p&gt;So i bet i only changes when you change a field in the maindatasource.&lt;/p&gt;
&lt;p&gt;Good thing there is a SetDirty:&lt;br /&gt;XDocument.SetDirty(): Sets the IsDirty property on the XDocument object to a Boolean value that indicates whether the data in a Microsoft Office InfoPath 2007 form has been modified since it was last saved.&lt;/p&gt;
&lt;p&gt;Albert&lt;/p&gt;</description></item><item><title>Is the Dirty flag set to False when a form is submitted ?</title><link>https://www.infopathdev.com:443/forums/thread/28296.aspx</link><pubDate>Fri, 25 Apr 2008 16:39:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28296</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28296.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=28296</wfw:commentRss><description>&lt;p&gt;I am using Infopath 2007&lt;/p&gt;
&lt;p&gt;I am trying to use the Dirty flag to conditionally show buttons.&lt;/p&gt;
&lt;p&gt;I expected the Dirty flag to be set to False when the form is submitted - but this is not what I am seeing.&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Is it something I could&amp;nbsp;re-set manually ? or is there another flag to indicate whether something has not been submitted ?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thank you &lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item></channel></rss>