<?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>Drop down list in a browser form</title><link>https://www.infopathdev.com:443/forums/thread/56189.aspx</link><pubDate>Thu, 24 Jun 2010 19:12:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56189</guid><dc:creator>spegg</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56189.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=56189</wfw:commentRss><description>&lt;p&gt;My main objective is to sort a datasource in my Drop down list.&lt;/p&gt;
&lt;p&gt;As you all know, a browser infopath form will sort values in a drop down&amp;nbsp;by their ID.&lt;/p&gt;
&lt;p&gt;I have a list (Travel), the name column&amp;nbsp;is a Lookup in another list (Directors).&lt;/p&gt;
&lt;p&gt;My drop down is displaying the Travel column Name(&amp;quot;Directors(name)&amp;quot;)&lt;/p&gt;
&lt;p&gt;My datasourse is&amp;nbsp; an owss url.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The problem is, the&amp;nbsp;drop down list&amp;nbsp;is displaying the lookup values (ID and Value).&amp;nbsp;i.e.&amp;nbsp; 23;#BOM&lt;/p&gt;
&lt;p&gt;can I substring the value before displaying?&amp;nbsp;&amp;nbsp; Remember this is a browser form.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;</description></item></channel></rss>