<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Boolean statements -- very basic question</title><link>https://www.infopathdev.com:443/forums/thread/45763.aspx</link><pubDate>Tue, 11 Aug 2009 22:58:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45763</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45763.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45763</wfw:commentRss><description>&lt;p&gt;Sadly, the only way to do this is with lots of rules... one with a condition of field = p, set other field to Poor, etc. Expression boxes with conditional formatting can be nice for things like this, if you don&amp;#39;t want to store the value &amp;#39;poor&amp;#39; in a field in your form... you can have an expression box that says &amp;#39;Poor&amp;#39; and one that says &amp;#39;Good&amp;#39; then apply conditional formatting to show / hide. I know, I know, an If &amp;gt; Then or Case type of construct would be lovely.... but there isn&amp;#39;t one, so we have to get creative!&lt;/p&gt;</description></item><item><title>Re: Boolean statements -- very basic question</title><link>https://www.infopathdev.com:443/forums/thread/45762.aspx</link><pubDate>Tue, 11 Aug 2009 22:25:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45762</guid><dc:creator>carwil</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45762.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45762</wfw:commentRss><description>&lt;p&gt;Thank you very much Hilary&amp;nbsp;that solved my problem.&amp;nbsp; Is there a way to further define the output with &amp;quot;case&amp;quot; statements.&amp;nbsp; For example, if the value = P, then poor, G=Good?&lt;/p&gt;</description></item><item><title>Re: Boolean statements -- very basic question</title><link>https://www.infopathdev.com:443/forums/thread/45761.aspx</link><pubDate>Tue, 11 Aug 2009 22:00:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45761</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45761</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;Is this something you&amp;#39;d want to use in a rule? If so, you set conditions for your rule. Say, for example, you have a field called field2 that you want to set with the value from your if statement. You&amp;#39;d first add a condition for field1&amp;nbsp;&amp;gt; 12. Your rule would have an action to set field2&amp;#39;s value to field1 div 4. Then you&amp;#39;d add another rule, with another condition -- this one would be field1&amp;lt;= 12. The action for this rule would be to set field2&amp;#39;s value to 0.&lt;/p&gt;
&lt;p&gt;If what you want is a conditional default value, there is nothing out of the box for that -- there is some XPath magic you can use to create a conditional default, but it can be a little tricky.&lt;/p&gt;</description></item><item><title>Boolean statements -- very basic question</title><link>https://www.infopathdev.com:443/forums/thread/45756.aspx</link><pubDate>Tue, 11 Aug 2009 20:36:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45756</guid><dc:creator>carwil</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45756</wfw:commentRss><description>&lt;p&gt;I am new to InfoPath, 2-hours new to be exact, and I am wondering how to right a simple boolean statement.&amp;nbsp; Something must be so obvious I&amp;#39;m missing the point.&amp;nbsp; A sample of what I am trying to accomlish is this:&amp;nbsp; If [field1] &amp;gt;12 then [field1]/4 else 0.&lt;/p&gt;
&lt;p&gt;Also, any good recommendations for reference books or tutorials would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Thanks!!&lt;/p&gt;</description></item></channel></rss>