<?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 to detect if a field has been changed</title><link>https://www.infopathdev.com:443/forums/thread/56733.aspx</link><pubDate>Fri, 09 Jul 2010 21:38:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56733</guid><dc:creator>Flanker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56733.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=56733</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;&amp;quot;The behavior you describe doesn&amp;#39;t exactly seem like you want to highlight if changed -- but that you want to highlight all the dates that are populated when the form is opened. Is that the case?&amp;quot;&lt;/p&gt;
&lt;p&gt;Yes, exactly, that is the case.&amp;nbsp; The date I am referencing is a return to work date for a specific employee.&amp;nbsp; The idea is that if the user sets that date, he wishes to see the date highlighted&amp;nbsp;the next time the form is opened.&amp;nbsp; And then if the user updates the date (even with the same date) the highlight should disappear.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;quot;You&amp;#39;ll end up needing to add some kind of helper field for this -- maybe an attribute to the date field? You could call it &amp;quot;highlight&amp;quot; and make it a boolean, with a default value of FALSE. Then, on open, add a rule to set highlight = TRUE.&amp;nbsp;You may have to manually modify the&amp;nbsp;manifest (or use qRules, way easier) to set the highlight field to true only for items&amp;nbsp;that have a date value. Add a rule to the date field to set&amp;nbsp;highlight to FALSE when the date changes....&amp;quot;&lt;/p&gt;
&lt;p&gt;The problem I see with a helper field, is that this date field is in a repeating table and there could be possibly 100&amp;#39;s of dates set.&amp;nbsp;Also when the form is opened, the user could add another entry in the repeating table and set the date.&amp;nbsp; I&amp;#39;m am not familar with qRules so I will have to investigate.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thanks again for your input... much appreciated&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: how to detect if a field has been changed</title><link>https://www.infopathdev.com:443/forums/thread/56729.aspx</link><pubDate>Fri, 09 Jul 2010 20:36:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56729</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56729.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=56729</wfw:commentRss><description>&lt;p&gt;The behavior you describe doesn&amp;#39;t exactly seem like you want to highlight if changed -- but that you want to highlight all the dates that are populated when the form is opened. Is that the case? You&amp;#39;ll end up needing to add some kind of helper field for this -- maybe an attribute to the date field? You could call it &amp;quot;highlight&amp;quot; and make it a boolean, with a default value of FALSE. Then, on open, add a rule to set highlight = TRUE.&amp;nbsp;You may have to manually modify the&amp;nbsp;manifest (or use qRules, way easier) to set the highlight field to true only for items&amp;nbsp;that have a date value. Add a rule to the date field to set&amp;nbsp;highlight to FALSE when the date changes....&lt;/p&gt;
&lt;p&gt;If, instead, you simply want to know if the new date is equal to the previous value, it actually may get a little trickier. It is easier in code, because&amp;nbsp;we can get the old value and the new value, but since we can&amp;#39;t set control attributes (like background color, etc) in code, you&amp;#39;d still need some kind of helper field to set and to base your formatting off of.&lt;/p&gt;</description></item><item><title>how to detect if a field has been changed</title><link>https://www.infopathdev.com:443/forums/thread/56728.aspx</link><pubDate>Fri, 09 Jul 2010 18:52:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56728</guid><dc:creator>Flanker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56728.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=56728</wfw:commentRss><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;I have a saved infopath form and wish to detect when a field has been changed.&amp;nbsp; The field is a date picker in a repeating table.&amp;nbsp;&amp;nbsp;When the user enters a value, the date should display normally.&amp;nbsp; When the form is closed and then repoened, the date should display&amp;nbsp;highlighted in yellow.&amp;nbsp; When the user changes/updates the date&amp;nbsp;it should then display back normally.&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;There seems no option when using the&amp;nbsp;conditional formatting that allows you to detect when&amp;nbsp;a field has been modified.&amp;nbsp; Any help would be greatly appreciated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>