<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>write display name from multiple select</title><link>https://www.infopathdev.com:443/forums/thread/77446.aspx</link><pubDate>Wed, 11 Apr 2012 14:51:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77446</guid><dc:creator>jaxkookie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77446</wfw:commentRss><description>&lt;p&gt;I am trying to apply the double eval to get the display value of a multiple select field. the one example I found used a data source that was on the form. I am using a secondary data souce external to the form. although my formula does not error, I am not getting any values either&lt;/p&gt;&lt;p&gt;xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;AccountTypes&amp;quot;)/options/option[value = /my:myFields/my:AccountTypes/my:AccountType]/displayname, &amp;#39;concat(., &amp;quot;; &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/p&gt;&lt;p&gt;My multiple select uses an xml file for it data source. in my code I write to the xml file to populate the selections. My data source name is AccountTypes.&lt;/p&gt;&lt;p&gt;this is the xml&amp;nbsp;file node structure&lt;/p&gt;&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;&amp;lt;options&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;&amp;lt;value/&amp;gt;&amp;lt;displayname/&amp;gt;&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;&amp;lt;value/&amp;gt;&amp;lt;displayname/&amp;gt;&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/options&amp;gt; &lt;/p&gt;&lt;p&gt;the displayname is text, and the value is the item ID. All I need is the text values written to another field. &lt;/p&gt;&lt;p&gt;any ideas, what am I missing?&lt;/p&gt;&lt;p&gt;I got the idea from this post:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/14658/52125.aspx"&gt;http://www.infopathdev.com/forums/p/14658/52125.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>