<?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: &amp;quot;if&amp;quot; or &amp;quot;iif&amp;quot; function in xpath</title><link>https://www.infopathdev.com:443/forums/thread/14608.aspx</link><pubDate>Thu, 08 Jun 2006 16:41:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14608</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14608.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14608</wfw:commentRss><description>Good luck!</description></item><item><title>Re: &amp;quot;if&amp;quot; or &amp;quot;iif&amp;quot; function in xpath</title><link>https://www.infopathdev.com:443/forums/thread/14607.aspx</link><pubDate>Fri, 02 Jun 2006 07:43:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14607</guid><dc:creator>Sash</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14607</wfw:commentRss><description>Well, I just was sure of such kind of function is.&lt;br /&gt;Having two expression box is a good solution :)</description></item><item><title>Re: &amp;quot;if&amp;quot; or &amp;quot;iif&amp;quot; function in xpath</title><link>https://www.infopathdev.com:443/forums/thread/14606.aspx</link><pubDate>Thu, 01 Jun 2006 16:21:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14606</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14606.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14606</wfw:commentRss><description>There is no such if/iff functions for you to use.&lt;br /&gt;&lt;br /&gt;You will either need to bind your expression box to a node--the value of which you fill via rules or code, or else you will need to do as Matt suggested and have two expression boxes which hide/show depending on the true/false value.</description></item><item><title>Re: &amp;quot;if&amp;quot; or &amp;quot;iif&amp;quot; function in xpath</title><link>https://www.infopathdev.com:443/forums/thread/14605.aspx</link><pubDate>Thu, 01 Jun 2006 14:31:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14605</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14605.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14605</wfw:commentRss><description>Hm, is this for performance reasons? I don't see how it being in a repeating table makes a difference.</description></item><item><title>Re: &amp;quot;if&amp;quot; or &amp;quot;iif&amp;quot; function in xpath</title><link>https://www.infopathdev.com:443/forums/thread/14604.aspx</link><pubDate>Thu, 01 Jun 2006 08:17:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14604</guid><dc:creator>Sash</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14604</wfw:commentRss><description>Hello Matt and thank you for reply!&lt;br /&gt;I do it now in exactly the same way as you say, but I supposed it would be rather use calculations than condition formating when an expression box is in repeating table.</description></item><item><title>Re: &amp;quot;if&amp;quot; or &amp;quot;iif&amp;quot; function in xpath</title><link>https://www.infopathdev.com:443/forums/thread/14603.aspx</link><pubDate>Thu, 01 Jun 2006 07:46:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14603</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14603.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14603</wfw:commentRss><description>Hello Sash,&lt;br /&gt;&lt;br /&gt;I think an easier way to do this is to use two expression boxes with conditional formatting.  In the first put the 'ValTrue' with conditional formatting to "Hide when 'bool' is false" and the second put 'ValFalse' with conditional formatting to "Hide when 'bool' is true"&lt;br /&gt;&lt;br /&gt;I hope this helps!</description></item><item><title>"if" or "iif" function in xpath</title><link>https://www.infopathdev.com:443/forums/thread/12881.aspx</link><pubDate>Thu, 01 Jun 2006 06:42:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12881</guid><dc:creator>Sash</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12881.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12881</wfw:commentRss><description>Hello, &lt;br /&gt;I need help to create a simple formula in an expression box. It would return two values for choice depending on boolean expression.&lt;br /&gt;For example, function &lt;br /&gt;"iif (bool, ValTrue, ValFalse)"&lt;br /&gt;returns ValTrue if bool is true else it returns ValFalse.</description></item></channel></rss>