<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Insert Data from Repeating table into Separate Single Textbox</title><link>https://www.infopathdev.com:443/forums/thread/58790.aspx</link><pubDate>Wed, 08 Sep 2010 15:25:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58790</guid><dc:creator>ncarson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58790.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=58790</wfw:commentRss><description>&lt;p&gt;I have a similar problem that I can&amp;#39;t seem to get to work and hope someone&amp;nbsp;can help me.&amp;nbsp; I have a Repeating Table and I want the row contents concatenated and separated by a comma but not have a comma at the end of the string.&amp;nbsp; My datasource is set up like this:&lt;/p&gt;
&lt;p&gt;Main&lt;br /&gt;myFields&lt;br /&gt;&amp;nbsp; EventPage (Folder)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventInfo (Folder)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LawyerRoles (Folder)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SpkrsGrp (Folder)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SpeakersGroup (REPEATING GROUP)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LawyersSpeaking (TEXT FIELD)&lt;/p&gt;
&lt;p&gt;xPath properties of Repeating Group:&amp;nbsp; /my:myFields/my:EventPage/my:EventInfo/my:LawyerRoles/my:SpkrsGrp/my:SpeakersGroup&lt;/p&gt;
&lt;p&gt;xPath properties of Text Field:&amp;nbsp; /my:myFields/my:EventPage/my:EventInfo/my:LawyerRoles/my:SpkrsGrp/my:SpeakersGroup/my:LawyersSpeaking&lt;/p&gt;
&lt;p&gt;The Text Field (Lawyers Speaking) is a Drop-Down List Box connected to an external data connection so a user can select from a dynamic database of names and there is no limit to the number that can be selected, but in most cases probably won&amp;#39;t be more than 6-8 names.&lt;/p&gt;
&lt;p&gt;I added a text box and for the Properties I inserted this formula:&lt;/p&gt;
&lt;p&gt;substring(eval(eval(SpeakersGroup, &amp;#39;concat(/my:myFields/my:EventPage/my:EventInfo/my:LawyerRoles/my:SpkrsGrp/my:SpeakersGroup/my:LawyersSpeaking, &amp;quot;, &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;), 1, string-length(eval(eval(SpeakersGroup, &amp;#39;concat(/my:myFields/my:EventPage/my:EventInfo/my:LawyerRoles/my:SpkrsGrp/my:SpeakersGroup/my:LawyersSpeaking, &amp;quot;, &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;) - 2))&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I know there&amp;#39;s an extra closed paren at the end, but I kept getting an error asking for an &amp;quot;end of string&amp;quot; so after adding the last paren InfoPath accepted the formula without any errors.&lt;/p&gt;
&lt;p&gt;Only thing is all the field gets from this is the first three characters of the first name selected.&amp;nbsp; Can anyone help me with this?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Insert Data from Repeating table into Separate Single Textbox</title><link>https://www.infopathdev.com:443/forums/thread/43444.aspx</link><pubDate>Thu, 25 Jun 2009 03:37:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43444</guid><dc:creator>MarsdeNation</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=43444</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;That is bloody Brilliant!&lt;/p&gt;&lt;p&gt;&amp;nbsp;The article http://blogs.msdn.com/infopath/archive/2006/04/05/569338.aspx did say I had to type it in by hand, but I just couldn&amp;#39;t type in the right thing.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks heaps :) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Insert Data from Repeating table into Separate Single Textbox</title><link>https://www.infopathdev.com:443/forums/thread/43442.aspx</link><pubDate>Thu, 25 Jun 2009 03:29:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43442</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43442.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=43442</wfw:commentRss><description>&lt;p&gt;Here it is:&lt;/p&gt;
&lt;p&gt;eval(eval(ContactEmailGroup, &amp;quot;concat(my:ContactEmail, &amp;#39;;&amp;#39;)&amp;quot;), &amp;quot;..&amp;quot;)&lt;/p&gt;
&lt;p&gt;It&amp;#39;s because you used the GUI to select the ContactEmail node, but that&amp;#39;s a different Xpath than what the Blog shows.&amp;nbsp; Notice how &lt;u&gt;Person&lt;/u&gt; is a resolved field name, but my:Email is straight Xpath.&amp;nbsp; You have to actually type it in, and it works like a charm.&lt;/p&gt;</description></item><item><title>Insert Data from Repeating table into Separate Single Textbox</title><link>https://www.infopathdev.com:443/forums/thread/43439.aspx</link><pubDate>Thu, 25 Jun 2009 02:57:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43439</guid><dc:creator>MarsdeNation</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43439.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=43439</wfw:commentRss><description>&lt;p&gt;Hi Everyone!&amp;nbsp; First time posting so I hope I can explain myself properly.&lt;/p&gt;&lt;p&gt;I want to take all of the data (Email addresses) from multiple rows of a repeating table, and insert them into a separate single textbox so that I can pass this data through to a workflow.&lt;/p&gt;&lt;p&gt;I found this page: http://blogs.msdn.com/infopath/archive/2006/04/05/569338.aspx and I had a small amount of success.&amp;nbsp; I have a basic understanding of how the code works but not enough of an understanding to make it work for me.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The end result I want is that inside my field &amp;quot;EmailContactMerge&amp;quot; I want to have the data: &amp;quot;email1@email1.com; email2@email2.com; email3@email3.com;&amp;quot;.&amp;nbsp; This data represents 3 rows from the repeating table &amp;quot;ContactEmailGroup&amp;quot; from the original source &amp;quot;ContactEmail&amp;quot;.&lt;/p&gt;&lt;p&gt;My Form is browser compatible, and I do need this to work in a browser.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;My Data Source looks like this:&lt;/p&gt;&lt;p&gt;myFields&lt;br /&gt;&amp;nbsp; JobRequestPage (Group)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmailContactMerge (Field)&lt;br /&gt;Email (Group)&lt;br /&gt;&amp;nbsp; ContactEmailGroup (Repeating Group/Table)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ContactEmail (Field)&lt;/p&gt;&lt;p&gt;The value I have put into &amp;quot;EmailContactMerge&amp;quot; field is as follows: eval(eval(ContactEmailGroup, &amp;#39;concat(../../my:Email/my:ContactEmailGroup/my:ContactEmail, &amp;quot;; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;&lt;p&gt;The result is that data will be separated by a &amp;quot;;&amp;quot;, but all I get is the data from the first row repeated for as many rows that exists in the repeating table. &lt;/p&gt;&lt;p&gt;For example, the data in the repeating table looks like this:&lt;/p&gt;&lt;p&gt;row 1: email1@email1.com&lt;br /&gt;row2: email2@email2.com&lt;br /&gt;row3 :email3@email3.com&lt;/p&gt;&lt;p&gt;The date that appears in &amp;quot;EmailContactMerge&amp;quot; where the code resides is: &amp;quot;email1@email1.com; email1@email1.com; email1@email1.com&amp;quot;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Can someone please fix this code for me so that it will display the data from all rows instead of just the first one? &lt;/b&gt;&lt;/p&gt;&lt;p&gt;Thanks in advance. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>