<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Sharepoint: Mutiple Selection Listbox (populated by data connection) - writing filtered values to text field</title><link>https://www.infopathdev.com:443/forums/thread/83767.aspx</link><pubDate>Mon, 22 Oct 2012 22:58:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83767</guid><dc:creator>brentward</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=83767</wfw:commentRss><description>I was able to get it to work with a Text field by using this default formula:&lt;br /&gt;
&lt;br /&gt;
eval(eval(DisplayName[Country = Value], &amp;#39;concat(., substring(&amp;quot;;&amp;quot;, 1, string-length(.)), &amp;quot; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Country being from the list (data connection) and Value being the Multiple Selection Listbox country.  This places a semi-colon between each name associated with the selected country.&lt;br /&gt;
&lt;br /&gt;
The SharePoint workflow now uses this text field to send an e-mail.</description></item><item><title>Sharepoint: Mutiple Selection Listbox (populated by data connection) - writing filtered values to text field</title><link>https://www.infopathdev.com:443/forums/thread/83756.aspx</link><pubDate>Mon, 22 Oct 2012 18:33:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83756</guid><dc:creator>brentward</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=83756</wfw:commentRss><description>I have an InfoPath 2010 form (SharePoint 2010 - web based) with a multiple selection listbox that displays countries populated from a SharePoint list.&lt;br /&gt;
&lt;br /&gt;
This list has the following fields/values sample data:&lt;br /&gt;
&lt;br /&gt;
Country: United States&lt;br /&gt;
Name: Joe Smith (this is a person picker field)&lt;br /&gt;
---------------------------&lt;br /&gt;
Country: Canada&lt;br /&gt;
Name: Steve Jones&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The Issue:&lt;/b&gt;&lt;br /&gt;
When multiple countries are selected, I want to retrieve all of the matching Names (person picker) values and append them to either a text field (semi-colon delimitted) or person picker field(whatever will allow SharePoint to use the field to send e-mails in a workflow later).  So if both Canada and United States are selected I want to return &amp;quot;Joe Smith;Steve Jones&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What I have tried:&lt;/b&gt;&lt;br /&gt;
1. I have been able to create a repeating table that has a &amp;quot;hide this control&amp;quot; rule.  This is working fine, however, how can I extract the visible names from the repeating table and write them to a text/person picker field for use by SharePoint?&lt;br /&gt;
2. I have also tried to add a rule that when the country field changes to populate a text field with the matching Person for each country... it only returns the first name.&lt;br /&gt;
&lt;br /&gt;
Any help would be appreciated.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Brent</description></item></channel></rss>