<?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: Expression Box Help</title><link>https://www.infopathdev.com:443/forums/thread/46659.aspx</link><pubDate>Sat, 05 Sep 2009 15:49:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46659</guid><dc:creator>JRodimus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46659.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46659</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Jimmy, that worked perfectly.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Expression Box Help</title><link>https://www.infopathdev.com:443/forums/thread/46652.aspx</link><pubDate>Fri, 04 Sep 2009 23:15:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46652</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46652.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46652</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;The simplest thing to do would be to use conditional formatting hide the expression box if the fields are blank, or if they&amp;#39;re not always blank at the same time, split it into three expression boxes: [&lt;i&gt;&lt;b&gt;field1&lt;/b&gt;&lt;/i&gt;][, ][&lt;i&gt;&lt;b&gt;field2&lt;/b&gt;&lt;/i&gt;] and hide the middle one when field1 or field2 is blank.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Similarly, the easiest thing for your second scenario would be to have five expression boxes side-by-side: [morning][, ][afternoon][, ][evening], and show or hide them appropriately based on the state of the checkboxes.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Expression Box Help</title><link>https://www.infopathdev.com:443/forums/thread/46648.aspx</link><pubDate>Fri, 04 Sep 2009 20:52:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46648</guid><dc:creator>JRodimus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46648.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46648</wfw:commentRss><description>&lt;p&gt;So I thought I had this all figured out, but then I notice that a comma is inserted even if nothing is listed in one of these fields.&amp;nbsp; So I get &lt;b&gt;(field 1,&lt;/b&gt;&lt;i&gt; &lt;/i&gt;) or ( &lt;b&gt;,field 2&lt;/b&gt;).&amp;nbsp; Any idea how to make the comma dependent on having content listed? &lt;/p&gt;&lt;p&gt;Also, can you use the concat function with a check box?&amp;nbsp; Meaning if I have 3 check boxes that say morning, afternoon and evening.. and 2 are checked, InfoPath automatically fills a text box that reads morning, evening&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Expression Box Help</title><link>https://www.infopathdev.com:443/forums/thread/46632.aspx</link><pubDate>Fri, 04 Sep 2009 14:43:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46632</guid><dc:creator>JRodimus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46632</wfw:commentRss><description>&lt;p&gt;Perfect, thanks guys!!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Expression Box Help</title><link>https://www.infopathdev.com:443/forums/thread/46599.aspx</link><pubDate>Fri, 04 Sep 2009 06:36:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46599</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46599.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46599</wfw:commentRss><description>&lt;p&gt;you can just use go to the field in which you want the value and set its value to concat(field1,&amp;quot;,&amp;quot;,field2), that will be easier than using expression box, you will also have to check the box that say &amp;quot;Update this value when the value of the formula is recalculated.&lt;/p&gt;</description></item><item><title>Re: Expression Box Help</title><link>https://www.infopathdev.com:443/forums/thread/46598.aspx</link><pubDate>Fri, 04 Sep 2009 06:26:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46598</guid><dc:creator>princevis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46598.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46598</wfw:commentRss><description>&lt;p&gt;do this concat(field 1,&amp;quot;,&amp;quot;,field2)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Expression Box Help</title><link>https://www.infopathdev.com:443/forums/thread/46596.aspx</link><pubDate>Fri, 04 Sep 2009 06:19:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46596</guid><dc:creator>JRodimus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46596.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46596</wfw:commentRss><description>&lt;p&gt;Oh wow, thanks!&amp;nbsp; I thought I needed to use the expression box... I guess that explains why I kept getting errors. &lt;/p&gt;&lt;p&gt;Btw, do you know how to automatically add a comma and space in between these entries?&amp;nbsp; When I do concast(field 1, field2) it comes out as field 1field2.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Sorry if this is a stupid question:( &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Expression Box Help</title><link>https://www.infopathdev.com:443/forums/thread/46592.aspx</link><pubDate>Fri, 04 Sep 2009 05:21:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46592</guid><dc:creator>princevis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46592.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46592</wfw:commentRss><description>Why u want to do that using expression box,when u can do that easily using Concat function in string. Is there any specific purpose for doing that using expression box..</description></item><item><title>Expression Box Help</title><link>https://www.infopathdev.com:443/forums/thread/46591.aspx</link><pubDate>Fri, 04 Sep 2009 04:55:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46591</guid><dc:creator>JRodimus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46591.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46591</wfw:commentRss><description>&lt;p&gt;Hi All,&amp;nbsp;&lt;/p&gt;&lt;p&gt;I was wondering if there was anyway to use an expression box to automatically combine the content of two text boxes. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;For example, I have one box for first name and another for last name.&amp;nbsp; Can I get an expression box (or something else) to automatically join this content for another section of the form? Also, can I get it to automatically insert a comma in between these?&lt;/p&gt;&lt;p&gt;Sorry if this has been posted elsewhere... I have done several searches but haven&amp;#39;t had any luck tracking this down.&amp;nbsp; Thanks for any help! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>