<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Dynamic Multi-Select Listbox -- concat checked values into one string</title><link>https://www.infopathdev.com:443/forums/thread/97041.aspx</link><pubDate>Wed, 16 Apr 2014 19:21:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97041</guid><dc:creator>Kimberly</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97041.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=97041</wfw:commentRss><description>&lt;p&gt;Hi snturner,&lt;/p&gt;&lt;p&gt;I agree with your suggestion that the fact that this is a Lookup is causing the issue.&lt;/p&gt;&lt;p&gt;Any SharePoint list auto-assigns a numeric unique ID to each row in the list.&amp;nbsp; Your lookup control by default will set that numeric ID to the Value for the control and whatever column&amp;nbsp;you choose as the Display Name for the control. &lt;/p&gt;&lt;p&gt;In the trick I suggested, manually entering the&amp;nbsp;dropdown options allows you to set the ID to what is actually the Display Name.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Where are you trying to display the concatenation?&amp;nbsp; If you&amp;#39;re sending the data to Access or Excel, SharePoint tends to send a hashtag delimited list of multiselect Display Names.&amp;nbsp; If it is a column in SharePoint, when you publish the InfoPath form, there is an option to display multiselect data as a count of choices or some kind of string (I have not tried it).&lt;/p&gt;&lt;p&gt;But if you just need to display it in the InfoPath form itself, I don&amp;#39;t know of an easy way to override the numeric IDs.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Good luck,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Kim&lt;/p&gt;</description></item><item><title>Re: Dynamic Multi-Select Listbox -- concat checked values into one string</title><link>https://www.infopathdev.com:443/forums/thread/97036.aspx</link><pubDate>Wed, 16 Apr 2014 14:38:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97036</guid><dc:creator>snturner</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97036.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=97036</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I am having trouble display the actual name of the item selected. All that is displayed is in the Calculated Value is a number. Each time I select a new item in the Multiple-Selection box, I get another number.&lt;/font&gt;&lt;/font&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;So if I select Orange and Red in the selection box I want to display Orange and Red, instead I get two numbers. &lt;/font&gt;&lt;/font&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;The multiple-selection box is a lookup field to a list in SharePoint. I am guessing that is my issue but not sure how to resolve this. &lt;/font&gt;&lt;/font&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;Any insight on this would be appreciated.&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Dynamic Multi-Select Listbox -- concat checked values into one string</title><link>https://www.infopathdev.com:443/forums/thread/94272.aspx</link><pubDate>Wed, 13 Nov 2013 16:56:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94272</guid><dc:creator>Kimberly</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94272.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=94272</wfw:commentRss><description>&lt;p&gt;Hi DmitryB,&lt;/p&gt;&lt;p&gt;It took a while to figure out, but this is actually&amp;nbsp;pretty quick&amp;nbsp;to&amp;nbsp;set up&amp;nbsp;with out-of-the-box Infopath 2010 functionality.&lt;/p&gt;&lt;p&gt;When you created the Muiltselect control, it should have been automatically bound to a &lt;strong&gt;Group&lt;/strong&gt; (looks like a folder in myfields) and a &lt;strong&gt;Repeating Field&lt;/strong&gt; (looks like a piece of paper with a blue arrow).&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Where you want to display your concatenation, create a &lt;strong&gt;Calculated Value &lt;/strong&gt;control.&amp;nbsp; This will prompt a window asking for the XPath.&amp;nbsp; &lt;/li&gt;&lt;li&gt;Click the &lt;strong&gt;&lt;em&gt;fx &lt;/em&gt;&lt;/strong&gt;button on this window.&amp;nbsp; This opens a formula window.&amp;nbsp; &lt;/li&gt;&lt;li&gt;Click the &amp;quot;Insert Group or Field&amp;quot; button and select the &lt;strong&gt;Group&lt;/strong&gt; associated with your control&amp;nbsp; This is the key - if you select the Repeating Field, it will only display the first value in that field.&amp;nbsp; The &lt;strong&gt;Group&lt;/strong&gt; will display all values in that repeating field.&lt;/li&gt;&lt;li&gt;Click OK.&amp;nbsp; This sets the XPath to &amp;quot;my:GROUP_SELECTED&amp;quot;&lt;/li&gt;&lt;li&gt;Click OK.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Now when you preview the form, this Calculated Value control will automatically concatenate each selection checked or unchecked in your Multiselect control.&amp;nbsp; No need to manually refresh.&lt;/p&gt;&lt;p&gt;Note: If you want&amp;nbsp;the options to be&amp;nbsp;delimited by something, modify the&amp;nbsp;Values in your multiselect control to contain that delimiter.&amp;nbsp; This will not impact how the option displays in the multiselect control.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;On my form, I manually entered values, so I can simply type the delimiter into the Multi-Select List Box Properties. For example:&lt;/p&gt;&lt;p&gt;Value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Display Name&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;Option1&lt;strong&gt;;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Option 1&lt;/p&gt;&lt;p&gt;Option 2&lt;strong&gt;;&lt;/strong&gt;&amp;nbsp;&amp;nbsp; Option 2&lt;/p&gt;&lt;p&gt;Good luck!&lt;br /&gt;&lt;br /&gt;Kim&lt;/p&gt;</description></item><item><title>Dynamic Multi-Select Listbox -- concat checked values into one string</title><link>https://www.infopathdev.com:443/forums/thread/53808.aspx</link><pubDate>Sat, 17 Apr 2010 13:20:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53808</guid><dc:creator>DmitryB</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53808.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=53808</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a listbox and several values there. I need to concatenate checked values into a string and put this string into a textbox. I&amp;#39;ve read the thread &lt;a href="http://www.infopathdev.com/forums/p/13888/49351.aspx"&gt;http://www.infopathdev.com/forums/p/13888/49351.aspx&lt;/a&gt;, but actually haven&amp;#39;t found the&amp;nbsp;solution there.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;It&amp;#39;s not the problem to concat values while checking (using rules). Updating the textbox after UNchecking is the problem for me (even using default value).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Perhaps there&amp;#39;s another way to solve the problem.&lt;/p&gt;
&lt;p&gt;Appreciate your help.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>