Boolean function with two expressions - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Boolean function with two expressions

Last post 02-24-2020 07:49 AM by Hilary Stoupa. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-21-2020 08:27 AM

    Boolean function with two expressions

    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, "UDBUD AF"))) [THIS WORKS] I want to combine this expression with another check which contains an AND function. 2. number(boolean([/my:F_x00e6_llesudbud = "Nej" AND /my:F_x00e6_llesudbud_x0020__x002d__ = ""]). So if (1) AND (2) is true I get the value 2. I can't figure out how to combine the two expressions. Could someone help me? Best regards Morten
  • 02-24-2020 01:56 AM In reply to

    Re: Boolean function with two expressions

    SOLVED It was simple. Solved by the expression: number(../my:F_x00e6_llesudbud[. = "Nej"] and ../my:F_x00e6_llesudbud_x0020__x002d__[. = ""])
  • 02-24-2020 07:49 AM In reply to

    Re: Boolean function with two expressions

    Oh, good job! Sorry I missed this last week, but it looks like you got it squared away on your own. :)
    Hilary Stoupa

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.