<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Boolean function with two expressions</title><link>https://www.infopathdev.com:443/forums/thread/122470.aspx</link><pubDate>Mon, 24 Feb 2020 15:49:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122470</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122470.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=122470</wfw:commentRss><description>Oh, good job! Sorry I missed this last week, but it looks like you got it squared away on your own. :)</description></item><item><title>Re: Boolean function with two expressions</title><link>https://www.infopathdev.com:443/forums/thread/122468.aspx</link><pubDate>Mon, 24 Feb 2020 09:56:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122468</guid><dc:creator>RegionH</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122468.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=122468</wfw:commentRss><description>SOLVED

It was simple. Solved by the expression: number(../my:F_x00e6_llesudbud[. = &amp;quot;Nej&amp;quot;] and ../my:F_x00e6_llesudbud_x0020__x002d__[. = &amp;quot;&amp;quot;])</description></item><item><title>Boolean function with two expressions</title><link>https://www.infopathdev.com:443/forums/thread/122463.aspx</link><pubDate>Fri, 21 Feb 2020 16:27:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122463</guid><dc:creator>RegionH</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122463.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=122463</wfw:commentRss><description>Hi,

In a form we got a text field which should always contain 0 as value. Right now the value is based on an expression:

1. number(boolean(contains(../my:Title, &amp;quot;UDBUD AF&amp;quot;))) [THIS WORKS]

I want to combine this expression with another check which contains an AND function.

2. number(boolean([/my:F_x00e6_llesudbud = &amp;quot;Nej&amp;quot; AND /my:F_x00e6_llesudbud_x0020__x002d__ = &amp;quot;&amp;quot;]).

So if (1) AND (2) is true I get the value 2.

I can&amp;#39;t figure out how to combine the two expressions. Could someone help me?

Best regards
Morten</description></item></channel></rss>