<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Control rule annoyingly auto-populate on other forms</title><link>https://www.infopathdev.com:443/forums/thread/123385.aspx</link><pubDate>Fri, 28 Aug 2020 17:12:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123385</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123385.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=123385</wfw:commentRss><description>O.K. Your unequivocal statement of how action rules apply differently than formatting rules satisfies me. I&amp;#39;ll use it as is.

Yes, the rule setting the CompletionDate to now() is on the Status field. I did that instead of using a Default value. CompletionDate has no default value. The setup seems to work without hitches.

Thanks</description></item><item><title>Re: Control rule annoyingly auto-populate on other forms</title><link>https://www.infopathdev.com:443/forums/thread/123384.aspx</link><pubDate>Fri, 28 Aug 2020 16:59:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123384</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123384.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=123384</wfw:commentRss><description>Action rules do not fire unless a field changes. Formatting rules always apply. So if you have a formatting rule that is supposed to show something a certain color if a field is a specific value - then, as long as the field is that value, the formatting will apply. In other words, if you have a formatting rule to set the background green when status = completed, and there are no other formatting rule that set the background to green, I would assume that the status = completed if the background is green. Does that make sense? Edited to add- I want to confirm that you set your field to now() with a rule on another field. I&amp;#39;m not sure how it will behave if you are using a default that recalculates.</description></item><item><title>Re: Control rule annoyingly auto-populate on other forms</title><link>https://www.infopathdev.com:443/forums/thread/123381.aspx</link><pubDate>Fri, 28 Aug 2020 16:41:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123381</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123381.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=123381</wfw:commentRss><description>Well, having you say it shouldn&amp;#39;t fire unless changed is comforting, and I may just leave it.
However the formatting rule, with the same condition, does fire without changing the field (If Status is Completed make background green).

I hope an InfoPath or Windows upgrade can&amp;#39;t break my safety on this.

Thanks</description></item><item><title>Re: Control rule annoyingly auto-populate on other forms</title><link>https://www.infopathdev.com:443/forums/thread/123380.aspx</link><pubDate>Fri, 28 Aug 2020 16:29:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123380</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123380.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=123380</wfw:commentRss><description>How are the users changing the status in the display form so that the rule is firing? If the rule is on the status field it should only fire if the status changes....</description></item><item><title>Control rule annoyingly auto-populate on other forms</title><link>https://www.infopathdev.com:443/forums/thread/123379.aspx</link><pubDate>Fri, 28 Aug 2020 15:44:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123379</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=123379</wfw:commentRss><description>This problem has annoyed me for long too long, so I&amp;#39;ll report it. My SharePoint-InfoPath form has a field for &amp;quot;Status&amp;quot; (complete or not complete). On the new-item and edit form I created a rule on the control, so if the status is set to &amp;#39;complete&amp;#39; the Completion Date field gets set to now(). The problem is that this rule gets auto-populated to the control in Display view. I do not want the Completion Date to EVER get changed when someone opens a record in Display mode. If I edit or delete the rule in the Display form it gets changed in all the forms. I changed the control type on the Display form to a calculated value, but the rule still sticks to it.
So far, opening a record in Display does not change the Completion Date. But I would feels much safer if I could get rid of that unwanted rule on the Display form. A formatting rule on the display form on the same control sets the background color in the Status calculated value on the Display form, based on the same condition that exists in the unwanted rule. So I feel like it is just luck that keeps the unwanted rule from activating in the Display form, when the formatting rule with the same condition does activate.

Is there a way to get rid of this rule - just on the Display form (keep it on the other forms)?
Alternately, is there a way to add a condition to the rule, so it would activate only &amp;quot;If form is new-item or edit&amp;quot;?
Thanks
Peter</description></item></channel></rss>