<?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: Setting field value in rule not working</title><link>https://www.infopathdev.com:443/forums/thread/108928.aspx</link><pubDate>Tue, 20 Dec 2016 17:39:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108928</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108928.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=108928</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;If this is a secondary data source, rules don&amp;#39;t run on the initial query (I KNOW, RIGHT????). You can try one of the following: &lt;/p&gt;&lt;ol&gt;&lt;li&gt;Instead of changing the&amp;nbsp;value in the data source, add two calculated values to the table you are displaying the data in - One says &amp;quot;This is approved&amp;quot; and the other says &amp;quot;This is rejected&amp;quot;. Add conditional formatting to the two calculated values so only the&amp;nbsp;correct one shows.&lt;/li&gt;&lt;li&gt;Add a form load (or a rule somewhere that runs after this&amp;nbsp;data loads) to set a &amp;quot;helper&amp;quot; field in the secondary data source - for example, you could re-purpose ID, and have a rule on it to set the &amp;quot;Outcome&amp;quot; - if your form load rule sets ID to 0, all instances will change, and rules to set&amp;nbsp;Outcome will fire&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Generally, I&amp;#39;d take option 1 and just use calculated values and conditional formatting. :)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Setting field value in rule not working</title><link>https://www.infopathdev.com:443/forums/thread/108927.aspx</link><pubDate>Tue, 20 Dec 2016 17:26:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:108927</guid><dc:creator>Frank Martin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/108927.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=108927</wfw:commentRss><description>I am using a repeater table which is displaying data from Tasks list in InfoPath 2013 task form.

The field being displayed is &amp;quot;Outcome&amp;quot; whose possible values are &amp;quot;Approved&amp;quot; or &amp;quot;Rejected&amp;quot;. Instead of these words I want to display &amp;quot;This is approved&amp;quot; or &amp;quot;This is rejected&amp;quot;. For that I added a rule where I want to &amp;quot;Set a field&amp;#39;s value&amp;quot;. I have added this rule on this &amp;quot;Outcome&amp;quot; field and condition is:

If &amp;quot;Outcome&amp;quot; = &amp;quot;Approved&amp;quot; then set value of &amp;quot;Outcome&amp;quot; to &amp;quot;This is approved&amp;quot;
If &amp;quot;Outcome&amp;quot; = &amp;quot;Rejected&amp;quot; then set value of &amp;quot;Outcome&amp;quot; to &amp;quot;This is rejected&amp;quot;

Problem is these rules are not working and &amp;quot;Outcome&amp;quot; field continue to display &amp;quot;Approved&amp;quot; or &amp;quot;Rejected&amp;quot;.

What am I doing wrong?</description></item></channel></rss>