<?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: Data validation not working correctly for multiple fields</title><link>https://www.infopathdev.com:443/forums/thread/92199.aspx</link><pubDate>Wed, 14 Aug 2013 16:11:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92199</guid><dc:creator>Doreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92199.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=92199</wfw:commentRss><description>&lt;p&gt;Thank you for your solution stormseeker75.&amp;nbsp; I was having similar problem writing the expression correctly.&amp;nbsp; Your solution made me realize I needed to use the xpath value in the express (i.e. ../my:fieldname)&lt;/p&gt;</description></item><item><title>Re: Data validation not working correctly for multiple fields</title><link>https://www.infopathdev.com:443/forums/thread/89110.aspx</link><pubDate>Mon, 22 Apr 2013 17:34:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89110</guid><dc:creator>stormseeker75</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=89110</wfw:commentRss><description>&lt;p&gt;Brilliant, but it didn&amp;#39;t quite work.&amp;nbsp; What I figured out is that I needed to use an expression.&amp;nbsp; It ended up being:&lt;/p&gt;
&lt;p&gt;&lt;a href="mailto:../@INVOICE_DETAIL"&gt;../@INVOICE_DETAIL&lt;/a&gt; = &amp;quot;CPF&amp;quot; or &lt;a href="mailto:../@INVOICE_DETAIL"&gt;../@INVOICE_DETAIL&lt;/a&gt; = &amp;quot;APF&amp;quot; or &lt;a href="mailto:../@INVOICE_DETAIL"&gt;../@INVOICE_DETAIL&lt;/a&gt; = &amp;quot;HRB Simple&amp;quot; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;That seemed to make it check each variable and treat the whole line as one validation.&lt;/p&gt;</description></item><item><title>Re: Data validation not working correctly for multiple fields</title><link>https://www.infopathdev.com:443/forums/thread/89056.aspx</link><pubDate>Sun, 21 Apr 2013 16:36:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89056</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89056.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=89056</wfw:commentRss><description>&lt;p&gt;Maybe you need to add parentheses around the terms in your&amp;nbsp;OR expressions to make sure that the entire OR is evaluated as opposed to just the first term. :) &lt;/p&gt;&lt;p&gt;It&amp;#39;s the same idea as in albebra - if your formula has multiplication and addition, you need to put parentheses around your plus signs... &lt;a href="http://en.wikipedia.org/wiki/Bracket_(mathematics"&gt;http://en.wikipedia.org/wiki/Bracket_(mathematics&lt;/a&gt;)&lt;/p&gt;</description></item><item><title>Data validation not working correctly for multiple fields</title><link>https://www.infopathdev.com:443/forums/thread/89037.aspx</link><pubDate>Fri, 19 Apr 2013 20:19:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89037</guid><dc:creator>stormseeker75</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89037.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=89037</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve got one field in my form called INVOICE_AMT.&amp;nbsp; I&amp;#39;m trying to require a non-zero value in that field.&amp;nbsp; There are 2 other fields that this is conditioned upon:&amp;nbsp; INVOICE_DETAIL and DNP.&amp;nbsp; Here&amp;#39;s how it should work.&lt;/p&gt;
&lt;p&gt;If INVOICE_DETAIL is equal to CPF, APF, or HRB Simple AND &lt;br /&gt;DNP is equal to False AND &lt;br /&gt;INVOICE_AMT is equal to 0 OR&lt;br /&gt;INVOICE_AMT is blank&lt;/p&gt;
&lt;p&gt;Then the INVOICE_AMT field should be required to be more than 0.&lt;/p&gt;
&lt;p&gt;No matter what I do, I cannot get this thing to work.&amp;nbsp; Here&amp;#39;s how my condition currently works:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If this condition is true:&lt;/p&gt;
&lt;p&gt;INVOICE_AMT is less than or equal to 0 and&lt;br /&gt;The expression &lt;a href="mailto:../@INVOICE_DETAIL"&gt;../@INVOICE_DETAIL&lt;/a&gt; = &amp;quot;CPF&amp;quot; or &amp;quot;APF&amp;quot; or &amp;quot;HRB Simple&amp;quot; and&lt;br /&gt;DNP is equal to &amp;quot;False&amp;quot;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s screwing things all up and giving me the wrong validation.&amp;nbsp; I&amp;#39;ve tried this so many times, but I can&amp;#39;t get it to work.&amp;nbsp; I&amp;#39;m in desparate need of some help on this one.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>