<?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: What is best: rules or a calculated value field to achieve a simple goal?</title><link>https://www.infopathdev.com:443/forums/thread/98451.aspx</link><pubDate>Thu, 24 Jul 2014 14:43:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98451</guid><dc:creator>AmsterdamSchool</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=98451</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;ah! I get it. I had to take it much more literally than I did. The&amp;nbsp; A ! = &amp;quot;&amp;quot; or B != &amp;quot;&amp;quot; or C !=&amp;quot;&amp;quot; is actually entered and results in a true or false (without IF-Then etc), which is in turn the actual value. I would have thought this required the Result field to be a Boolean but apparently it works as well with it being a string field. Learning all the time :-)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thank you &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: What is best: rules or a calculated value field to achieve a simple goal?</title><link>https://www.infopathdev.com:443/forums/thread/98449.aspx</link><pubDate>Thu, 24 Jul 2014 14:22:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98449</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98449.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=98449</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;In my head I put the attached together.&lt;/p&gt;&lt;p&gt;&amp;nbsp;N.B. I&amp;#39;m away for&amp;nbsp;2 weeks, so&amp;nbsp;maybe somebody else&amp;nbsp;can pick this up.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: What is best: rules or a calculated value field to achieve a simple goal?</title><link>https://www.infopathdev.com:443/forums/thread/98447.aspx</link><pubDate>Thu, 24 Jul 2014 14:00:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98447</guid><dc:creator>AmsterdamSchool</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98447.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=98447</wfw:commentRss><description>&lt;p&gt;Thank you. I&amp;#39;m not sure I quite get it, though.&lt;br /&gt;&lt;br /&gt;How can A ! = &amp;quot;&amp;quot; or B != &amp;quot;&amp;quot; or C !=&amp;quot;&amp;quot; be a value? This to me is a condition and not a value, and even then, what would be the syntax if I actually wanted to enter such a condition/value? If you could clarify this, that would be great. Thanks for your time.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: What is best: rules or a calculated value field to achieve a simple goal?</title><link>https://www.infopathdev.com:443/forums/thread/98434.aspx</link><pubDate>Wed, 23 Jul 2014 15:32:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98434</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98434.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=98434</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Create another field i.e. Result. This will be hidden from the view.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Its default value is A ! = &amp;quot;&amp;quot; or B != &amp;quot;&amp;quot; or C !=&amp;quot;&amp;quot; (a is blank, b is blank, c is blank). Make sure the option Refresh value when formula is recalculated is ticked.&lt;/p&gt;&lt;p&gt;On the Result field you can have 2 rules.&lt;/p&gt;&lt;p&gt;a. Set field D to true&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Condition Result = true, set field D to true. Tick the box Dont run condition if met.&lt;/p&gt;&lt;p&gt;b. reset field D&lt;/p&gt;&lt;p&gt;Action set field d to blank.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>What is best: rules or a calculated value field to achieve a simple goal?</title><link>https://www.infopathdev.com:443/forums/thread/98433.aspx</link><pubDate>Wed, 23 Jul 2014 11:59:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98433</guid><dc:creator>AmsterdamSchool</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98433.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=98433</wfw:commentRss><description>Imagine a simplified form with 3 text fields A, B, and C, and a boolean field D.

D functions as a status flag for a work flow. If A or B or C has any input (= not empty) D should be set to true.

As far as I can tell there are two way to do this: rules and calculated values. I could create an action rule ‘If A not empty Or B not empty Or C not empty then set D to True’. However, to which field do I attach this rule? If I attach it to field A and leave that field empty and add content to field B, will this rule be triggered? Should I add the same rule to all three fields A,B and C? I’ll probably also need a separate rule to set D to false in case the content of a field is deleted. 

Maybe making D a calculated value field is better, but I find If then statements in Xpath not very straightforward.

What would you suggest as the best approach? Thank you.</description></item></channel></rss>