<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Combining fields with formatted text in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/72644.aspx</link><pubDate>Tue, 06 Dec 2011 09:56:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72644</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72644.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=72644</wfw:commentRss><description>&lt;p&gt;Thanks for the information and after a few mis-tries, I&amp;#39;ve got it working brilliantly!&amp;nbsp; The Carriage return in the XML file is a neat trick to be able to separate the sections as the concat won&amp;#39;t allow for&amp;nbsp;separation of field results nor the formatting to look reasonable.&lt;/p&gt;
&lt;p&gt;Thanks very much for your help over this one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Alan C.&lt;/p&gt;</description></item><item><title>Re: Combining fields with formatted text in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/72492.aspx</link><pubDate>Wed, 30 Nov 2011 10:59:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72492</guid><dc:creator>Kear777</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72492.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=72492</wfw:commentRss><description>&lt;p&gt;Worked like a charm many thanks. The mistake I made last time was not enclosing the concat in &amp;#39; &amp;#39;&lt;/p&gt;</description></item><item><title>Re: Combining fields with formatted text in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/72491.aspx</link><pubDate>Wed, 30 Nov 2011 09:51:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72491</guid><dc:creator>Kear777</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72491.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=72491</wfw:commentRss><description>&lt;p&gt;Many thanks for the response. Sadly I can&amp;#39;t download the example at work. I did fnd a couple of pages explaining the double eval work around but it didn&amp;#39;t work the last time I tried it. I&amp;#39;ll give it another go and let you know how I get on.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks again&lt;/p&gt;
&lt;p&gt;K&lt;/p&gt;</description></item><item><title>Re: Combining fields with formatted text in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/72441.aspx</link><pubDate>Tue, 29 Nov 2011 14:41:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72441</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72441.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=72441</wfw:commentRss><description>&lt;p&gt;You can combine repeating section fields in this way using a &amp;#39;double eval&amp;#39; method.&lt;br /&gt;Here&amp;#39;s my little &amp;#39;recipe&amp;#39;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;xdMath:Eval(xdMath:Eval(&amp;lt;your repeating group&amp;gt;, &amp;#39;concat(&amp;lt;field in repeating group to combine&amp;gt;,&amp;quot;&amp;lt;string or field to insert between on each combine&amp;gt;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;) &lt;/p&gt;&lt;p&gt;Here&amp;#39;s an actual example where the repeating group is called &amp;#39;repeatingGroup&amp;#39; and the field is called &amp;#39;field1&amp;#39; and the string between each combine is &amp;quot;;&amp;quot;&lt;/p&gt;&lt;p&gt;xdMath:Eval(xdMath:Eval(my:repeatingGroup, &amp;#39;concat(my:field1, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;&lt;p&gt;and attached is a sample form which demonstrates it working.&lt;/p&gt;&lt;p&gt;Something of note is that you can&amp;#39;t represent a carriage return in the above formula (ie what if I wanted to combine the fields with a carriage return between each one instead of a semi colon?).&lt;/p&gt;&lt;p&gt;The workaround I&amp;#39;ve used in the attached sample is a trick using a secondary datasource XML file with a field containing the special characters for a carriage return in an XML file. Then I use that field as the &amp;lt;field to insert between on each combine&amp;gt; and this gives the desired result.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Combining fields with formatted text in a repeating section</title><link>https://www.infopathdev.com:443/forums/thread/72298.aspx</link><pubDate>Tue, 22 Nov 2011 21:47:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72298</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72298.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=72298</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I&amp;#39;ve an InfoPath form on which there is a repeating section with two fields, one a drop-down list the second a multi-line text box.&amp;nbsp; When a user selects one of the options in the drop-down, I&amp;#39;ve a refresh which pulls back values from a related document, copying formatted text (often a series of sentences with line-breaks) into the multi-line text box.&lt;/p&gt;
&lt;p&gt;A user can then click on the repeating section button to add another pair of fields, and again they can choose from the drop-down list which populates the referenced text field.&amp;nbsp; We&amp;#39;ve now got &amp;#39;two&amp;#39; formatted text fields with material in.&lt;/p&gt;
&lt;p&gt;What I&amp;#39;d like to be able to do is combine the values from &amp;#39;all&amp;#39; of the text boxes into another field on the form using either a button / field rule or whatever and very importantly retain the text formatting.&lt;/p&gt;
&lt;p&gt;Anyone thoughts about how this might be completed in a &amp;#39;no-code&amp;#39; fashion?&lt;/p&gt;
&lt;p&gt;Regards Alan C.&lt;/p&gt;</description></item></channel></rss>