<?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: Double Eval with concat working in designer but not in browser</title><link>https://www.infopathdev.com:443/forums/thread/80192.aspx</link><pubDate>Wed, 04 Jul 2012 02:31:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80192</guid><dc:creator>tashatstanwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80192.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=80192</wfw:commentRss><description>&lt;p&gt;Hi everyone - after days of searching and finally posting on this forum I have found an answer&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/greg/archive/2005/06/09/Keep-Track-of-List-Selections.aspx"&gt;http://www.infopathdev.com/blogs/greg/archive/2005/06/09/Keep-Track-of-List-Selections.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;tweaked for my fields and datasource.&amp;nbsp; Brilliant!!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Double Eval with concat working in designer but not in browser</title><link>https://www.infopathdev.com:443/forums/thread/80190.aspx</link><pubDate>Wed, 04 Jul 2012 00:15:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80190</guid><dc:creator>tashatstanwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=80190</wfw:commentRss><description>&lt;p&gt;Hi everyone&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a form (custom list in Sharepoint 2010)&amp;nbsp;with a multichoice box which&amp;nbsp;gets its data from&amp;nbsp;a secondary data source (another list in Sharepoint).&lt;/p&gt;
&lt;p&gt;The users selects one or many of the choices in the multichoice box.&lt;/p&gt;
&lt;p&gt;I have a text field (Email) of which I want the choices made in the multichoice box to be concatenated with a &amp;quot;;&amp;quot; between, however I don&amp;#39;t want the &amp;#39;Value&amp;#39; or Title as it&amp;#39;s known in the secondary data source list, I want the email addresses (another field in the secondary data source list).&lt;/p&gt;
&lt;p&gt;I have the following working in designer/preview:&lt;/p&gt;
&lt;p&gt;substring-after(eval(eval(Value, &amp;#39;concat(xdXDocument:GetDOM(&amp;quot;NotifyList&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Email[../d:Title = current()], &amp;quot;;&amp;quot;, &amp;quot; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;), &amp;quot;;&amp;quot;)&lt;/p&gt;
&lt;p&gt;Example&lt;/p&gt;
&lt;p&gt;Multichoice box list: Title, Email, ID&lt;/p&gt;
&lt;p&gt;1&amp;nbsp; Red (1)&lt;/p&gt;
&lt;p&gt;2 Blue (2)&lt;/p&gt;
&lt;p&gt;3 Green (3)&lt;/p&gt;
&lt;p&gt;User selects 1, 2 and 3 and the Email text box shows &lt;a href="mailto:1@red;2@blue;3@green"&gt;1@red;2@blue;3@green&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the Browser, the following occurs:&lt;/p&gt;
&lt;p&gt;Users selects 1 - email text box shows &lt;a href="mailto:1@red"&gt;1@red&lt;/a&gt;;&lt;/p&gt;
&lt;p&gt;User selects 2 - email text box shows &lt;a href="mailto:2@blue;2@blue"&gt;2@blue;2@blue&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;User selects 3 - email text box shows &lt;a href="mailto:3@green;3@green;3@green"&gt;3@green;3@green;3@green&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve read so many blogs/forums on double eval and I am not a developer - I can only assume its the &amp;quot;current()&amp;quot; that&amp;#39;s not working correctly on the browser?&lt;/p&gt;
&lt;p&gt;Hope this makes sense - any ideas please let me know!&lt;/p&gt;</description></item></channel></rss>