<?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: Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/104796.aspx</link><pubDate>Wed, 25 Nov 2015 20:55:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104796</guid><dc:creator>rutica</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104796.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=104796</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I am having a similar situation as Pavr27.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is there a solution to do this?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/101066.aspx</link><pubDate>Mon, 09 Feb 2015 09:39:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101066</guid><dc:creator>pavr27</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101066.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=101066</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Anybody?&lt;/p&gt;</description></item><item><title>Re: Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/100986.aspx</link><pubDate>Tue, 03 Feb 2015 10:12:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100986</guid><dc:creator>pavr27</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100986.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100986</wfw:commentRss><description>&lt;p&gt;Hi All, appreciate this is an old thread - but seemed a suitable place to post.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Firslty, I am an infopath novice, and cannot code.&lt;/p&gt;&lt;p&gt;I&amp;#39;m using Infopath 2007&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am trying to achieve similar to this. Difference being my multiple selection list is populated from a SharePoint list.&lt;/p&gt;&lt;p&gt;The multiple selection list pulls a list of countries. These countries are associated with email addresses.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What I want to achieve:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I select a country in the list, the associated email addresses appear, concatentated, in the text box so that I can then send an email to the recipients.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve had a look at the example solution above, but can&amp;#39;t work out how to modify this correctly. What I did is change the list box properties to pull from my secondary source, and then tweaked the expression box formua to:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;eval(eval(@Approver, &amp;#39;concat(., substring(&amp;quot;;&amp;quot;, 1, string-length(.)), &amp;quot; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;) &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But it&amp;#39;s not working - all email address are displayed in the expression box, independentl of whether or not the assosiated country is &amp;#39;checked&amp;#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My secondary source looks like:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://i767.photobucket.com/albums/xx317/sawbo04/datasource.png" width="281" height="162" alt="" /&gt;&lt;/p&gt;&lt;p&gt;And the resulting frm looks like: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://i767.photobucket.com/albums/xx317/sawbo04/form2.png" width="436" height="257" alt="" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any pointers please?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Many Thanks! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/81195.aspx</link><pubDate>Tue, 31 Jul 2012 21:54:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81195</guid><dc:creator>Steve.Moss</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81195.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=81195</wfw:commentRss><description>Perfect answer for me. Thanks Mel :-)</description></item><item><title>Re: Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/81170.aspx</link><pubDate>Tue, 31 Jul 2012 16:14:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81170</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=81170</wfw:commentRss><description>No worries Steve - XSN attached. :)</description></item><item><title>Re: Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/81150.aspx</link><pubDate>Tue, 31 Jul 2012 06:42:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81150</guid><dc:creator>Steve.Moss</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81150.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=81150</wfw:commentRss><description>&lt;p&gt;&lt;em&gt;Hi.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;I was wondering if you could send me the form as I have a similar problem which I just can&amp;#39;t get a handle on&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;/em&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Regards&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;/em&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Steve&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Re: Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/58879.aspx</link><pubDate>Sun, 12 Sep 2010 01:51:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58879</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58879.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58879</wfw:commentRss><description>&lt;p&gt;You can use the eval function to concatenate the selected email addresses.&lt;/p&gt;&lt;p&gt;So if your data source is structured like&lt;/p&gt;&lt;p&gt;myFields&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserList (parent group)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; emailAddress (child repeating field)&lt;br /&gt;&lt;/p&gt;&lt;p style="font-weight:bold;"&gt;&lt;span style="font-weight:normal;"&gt;Your formula would be:&lt;/span&gt; eval(eval(&lt;u&gt;emailAddress&lt;/u&gt;, &amp;#39;concat(., substring(&amp;quot;;&amp;quot;, 1, string-length(.)), &amp;quot; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;&lt;p&gt;You use this formula in your Email Submit data connection&amp;#39;s &amp;quot;To&amp;quot; field. You should be getting the result as shown in the image:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/photos/blog_pictures/picture58878.aspx" target="_blank"&gt;&lt;br /&gt;&lt;/a&gt;&lt;img src="http://www.infopathdev.com/photos/blog_pictures/images/58878/original.aspx" alt="" /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;img src="http://www.infopathdev.com/photos/blog_pictures/picture58878.aspx" alt="" /&gt;&lt;/p&gt;&lt;p&gt;I attached a sample form to get you started.&lt;a href="http://www.infopathdev.com/files/folders/examples/entry58877.aspx" target="_blank"&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hope that helps!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/58841.aspx</link><pubDate>Thu, 09 Sep 2010 19:45:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58841</guid><dc:creator>houndstooth17</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58841.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58841</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m in a very similar situation.&amp;nbsp; I have an Infopath form sitting in a Sharepoint Document library&amp;nbsp; and i want the main User to be able to choose from a list of names (subset of company names but not nearly as many) and using worflow, assign a to-do task to each person in the list to review the form and add some comments.&amp;nbsp; This allows the Main user to be able to easily tell when all reviews are complete.&amp;nbsp; However, when the workflow runs, the assigned to gets left blank since it can&amp;#39;t resolve the name from the multiple-value selection box field containing the list of names.&amp;nbsp; The workflow itslef works fine if i hard code a name or address in the worflow designer, but not if i try to assign a value from the form to the workflow&amp;#39;s &amp;quot;assign to&amp;quot;.&amp;nbsp; Any help would be greatly appreciated.&lt;/p&gt;</description></item><item><title>Re: Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/26678.aspx</link><pubDate>Fri, 22 Feb 2008 00:42:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26678</guid><dc:creator>jlewis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26678.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26678</wfw:commentRss><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I will only have about 5-10 emails hard coded in the form so using Active Directory or Sharepoint is not needed.&amp;nbsp; Plus the emails that I will be using are external emails not in our company directory.&amp;nbsp; I just can&amp;#39;t believe there isn&amp;#39;t an easier way to do this.&amp;nbsp; I&amp;#39;m fairly new to InfoPath so I won&amp;#39;t be able to write any code to do this.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I will try your suggestion with the repeating list and selection box.&amp;nbsp; If anybody else has any ideas for using the multiple-selection list box let me know.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Jeff&lt;/p&gt;</description></item><item><title>Re: Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/26675.aspx</link><pubDate>Thu, 21 Feb 2008 22:33:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26675</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26675.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26675</wfw:commentRss><description>&lt;p&gt;The trick is you are trying to put repeating information into a non repeating field.&amp;nbsp; Email addresses need to be concatenated together with a ; seperating each.&lt;/p&gt;
&lt;p&gt;I know with code you could process through the list and build the &amp;quot;to&amp;quot; field.&lt;/p&gt;
&lt;p&gt;I think you could build it with a rule, as a name is selected, the corresponding email could be concatenated onto the end fo the list.&amp;nbsp; concat(tofield, &amp;quot;;&amp;quot;, picker)&lt;/p&gt;
&lt;p&gt;Two issues though you would need to switch to a drop down and then display the selections in another control. With the multilist the first picked value would always be passed :(&amp;nbsp; Another issue is if they change their mind and unselect.&lt;/p&gt;
&lt;p&gt;Best would be to create a repeating list with a selection box field. Name, Email, SelectFlag.&amp;nbsp; So as they were chosen you could have a check box bound to the selectflag which would replicate your current view.&lt;/p&gt;
&lt;p&gt;You should look an Active Directory web service or using SharePoint so you do not have to keep your own list but let them look them up emails from the network.&lt;/p&gt;</description></item><item><title>Using Multiple-Selection List Box for Email Recipients</title><link>https://www.infopathdev.com:443/forums/thread/26670.aspx</link><pubDate>Thu, 21 Feb 2008 21:25:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26670</guid><dc:creator>jlewis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26670.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26670</wfw:commentRss><description>&lt;p&gt;I searched the forum but did not find someone wanting to do what I want.&amp;nbsp; I want to have a Multiple-Selection List Box that has a preset list of email addresses in it.&amp;nbsp; The user fills out the form and selects which email addresses will receive the form from the multiple selection list box (the user may select all or some addresses).&amp;nbsp; The problem is when I set my submit button to pull the email addresses from the list box, only 1 email gets populated in the &amp;quot;To:&amp;quot; field.&amp;nbsp; What can I do to have the multiple emails selected and added to the &amp;quot;To:&amp;quot; field when submitting?&amp;nbsp; The new multiple selection list box seems like a great way to pull this off.&amp;nbsp; What am I doing wrong?&lt;/p&gt;
&lt;p&gt;Here is a screenshot of what I&amp;#39;m after and where I am so far:&lt;br /&gt;&lt;img src="http://www.jclewis.net/pictures/infopath.gif" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;Jeff&lt;br /&gt;Infopath 2007&lt;/p&gt;</description></item></channel></rss>