<?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: How do I access the Form's Dirty flag for conditional formatting, ideally without using code?</title><link>https://www.infopathdev.com:443/forums/thread/46280.aspx</link><pubDate>Wed, 26 Aug 2009 20:40:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46280</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46280</wfw:commentRss><description>&lt;p&gt;Without code as requested &lt;a href="http://alecpojidaev.wordpress.com/2009/07/06/how-to-check-if-your-form-is-dirty/"&gt;http://alecpojidaev.wordpress.com/2009/07/06/how-to-check-if-your-form-is-dirty/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: How do I access the Form's Dirty flag for conditional formatting, ideally without using code?</title><link>https://www.infopathdev.com:443/forums/thread/46221.aspx</link><pubDate>Tue, 25 Aug 2009 19:46:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46221</guid><dc:creator>Nigel Tufnel</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46221.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=46221</wfw:commentRss><description>&lt;p&gt;What if the user just decides to close the form (file-&amp;gt;Exit) or by clicking the X in the upper right hand corner? Will they get a warning that they haven&amp;#39;t submitted the form?&lt;/p&gt;</description></item><item><title>Re: How do I access the Form's Dirty flag for conditional formatting, ideally without using code?</title><link>https://www.infopathdev.com:443/forums/thread/28364.aspx</link><pubDate>Mon, 28 Apr 2008 21:44:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28364</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28364.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28364</wfw:commentRss><description>&lt;p&gt;Thanks Albert for jumping in with some answers!&lt;/p&gt;</description></item><item><title>Re: How do I access the Form's Dirty flag for conditional formatting, ideally without using code?</title><link>https://www.infopathdev.com:443/forums/thread/28294.aspx</link><pubDate>Fri, 25 Apr 2008 16:01:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28294</guid><dc:creator>Albert</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28294.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28294</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Good news if you use InfoPath 2007, this namespace is allready declared in a new InfoPath 2007 template, so you can skip that.&lt;/p&gt;
&lt;p&gt;If you use(d) InfoPath 2003 to create the template you probably made mistake adding the namespace declaration to the manifest.xsf file.&lt;/p&gt;
&lt;p&gt;An example: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;The namespace in manifest.xsf: &lt;/strong&gt;&lt;br /&gt;&lt;em&gt;&amp;lt;xsf:xDocumentClass&amp;nbsp; [...some more stuff...] xmlns:xdDate=&amp;quot;&lt;/em&gt;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/xslt/Date"&gt;&lt;em&gt;http://schemas.microsoft.com/office/infopath/2003/xslt/Date&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;quot; xmlns:my=&amp;quot;&lt;/em&gt;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-04-25T15:33:31"&gt;&lt;em&gt;http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-04-25T15:33:31&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;quot; xmlns:xdExtension=&amp;quot;&lt;/em&gt;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/xslt/extension"&gt;&lt;em&gt;http://schemas.microsoft.com/office/infopath/2003/xslt/extension&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;Do not change to 2007!&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;The IsDirty function (jscript):&lt;br /&gt;&lt;/strong&gt;&lt;em&gt;function isDirty() &lt;br /&gt;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return XDocument.IsDirty; &lt;br /&gt;}&lt;/em&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Conditional formatting on a button&lt;br /&gt;&lt;/strong&gt;Hide when &lt;em&gt;xdExtension:isDirty() = true()&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Goodluck&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How do I access the Form's Dirty flag for conditional formatting, ideally without using code?</title><link>https://www.infopathdev.com:443/forums/thread/28292.aspx</link><pubDate>Fri, 25 Apr 2008 14:48:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28292</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28292.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28292</wfw:commentRss><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;I have tried adding the above line of code into the manifest and once saved and trying to re-open I get an error message - it is not a valid document - &lt;/p&gt;
&lt;p&gt;I am just pasting the above line before the &amp;gt; in the xsf:xDocumentClass&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any ideas&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item><item><title>Re: How do I access the Form's Dirty flag for conditional formatting, ideally without using code?</title><link>https://www.infopathdev.com:443/forums/thread/28284.aspx</link><pubDate>Fri, 25 Apr 2008 13:57:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28284</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28284.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28284</wfw:commentRss><description>&lt;p&gt;Thank you for your help.&amp;nbsp; I now have my conditional formatting based on a value in from code.&amp;nbsp; A couple of questions for clarity please.&lt;/p&gt;
&lt;p&gt;As I was using conditional formatting I did not need to edit the manifest - but if I did would this be the correct command for&amp;nbsp; Infopath 2007? or should I change the 2003 to 2007 ?&lt;/p&gt;
&lt;table class="" style="BORDER-RIGHT:medium none;TABLE-LAYOUT:fixed;BORDER-TOP:medium none;BORDER-LEFT:medium none;WIDTH:100%;BORDER-BOTTOM:medium none;BORDER-COLLAPSE:collapse;WORD-WRAP:break-word;"&gt;

&lt;tr&gt;
&lt;td class="" style="BORDER-RIGHT:#e6e6e6 6pt solid;BORDER-TOP:#e6e6e6 6pt solid;BORDER-LEFT:#e6e6e6 6pt solid;BORDER-BOTTOM:#e6e6e6 6pt solid;BACKGROUND-COLOR:#e6e6e6;" align="left"&gt;
&lt;p&gt;&lt;font face="Courier New" color="#666699"&gt;xmlns:xdExtension=&lt;a href="http://schemas.microsoft.com/office/infopath/2003/xslt/extension"&gt;http://schemas.microsoft.com/office/infopath/2003/xslt/extension&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;p&gt;When a form is submitted, should the dirty flag be reset to false?&amp;nbsp;&amp;nbsp;automatically ? (At the moment it does not seem to be the case in my form) Or is it something I should be re-setting manually ? or is there another flag to indicate whether something has not been submitted ?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I am trying to have an EXIT button appear if everything has been submitted - but EXIT Without submit button if there are updates to abandon.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item><item><title>Re: How do I access the Form's Dirty flag for conditional formatting, ideally without using code?</title><link>https://www.infopathdev.com:443/forums/thread/28267.aspx</link><pubDate>Fri, 25 Apr 2008 00:04:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28267</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28267.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28267</wfw:commentRss><description>&lt;p&gt;You can use the following article to help you along the way: &lt;a href="http://www.infopathdev.com/blogs/greg/archive/2004/09/15/Use-Code-to-Determine-a-Rule-Condition.aspx"&gt;http://www.infopathdev.com/blogs/greg/archive/2004/09/15/Use-Code-to-Determine-a-Rule-Condition.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Since you will be using conditional formatting, you can skip the extra requirements needed to make this work with rule conditions.&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>How do I access the Form's Dirty flag for conditional formatting, ideally without using code?</title><link>https://www.infopathdev.com:443/forums/thread/28238.aspx</link><pubDate>Thu, 24 Apr 2008 17:54:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28238</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28238.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28238</wfw:commentRss><description>&lt;p&gt;I have looked around the forum and nobody has quite answered my question.&lt;/p&gt;
&lt;p&gt;I have a form which I am submitting to SharePoint.&amp;nbsp; I get the &amp;#39;do you want to save Formx&amp;#39; message if the user tries to exit the form with outstanding changes - this is confusing for them as they don&amp;#39;t understand the difference between saving and submitting, So I want to switch off the prompting on closing the form.&amp;nbsp; BUT I do want to warn users that IF&amp;nbsp;they have&amp;nbsp;made changes they could be lost.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My simplest solution is to have&amp;nbsp;3 buttons -&amp;nbsp;Submit, Exit Without Submitting,&amp;nbsp;Exit.&amp;nbsp; I would make the buttons different colours so they stood out.&lt;br /&gt;Exit Without Submitting should only be&amp;nbsp;visible if there have been changes to the form&lt;br /&gt;Exit should only be visible if there have not been any changes to the form since the last submit&lt;/p&gt;
&lt;p&gt;How do I access the Form&amp;#39;s Dirty flag from a&amp;nbsp;conditional format&amp;nbsp;?&amp;nbsp; Or can I have a field which picks up the Dirty flag as a default value and then using conditional formatting based on that field?&amp;nbsp; I had thought of using a rule/after change to set a field&amp;#39;s value to dirty if changes had been made but this would mean a lot of rules/code snippets from each of the fields and if the form already has a flag I could use it would be simpler.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item></channel></rss>