<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to auto select the top(1) item for a dropDownListBox</title><link>https://www.infopathdev.com:443/forums/thread/74013.aspx</link><pubDate>Mon, 16 Jan 2012 15:07:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74013</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74013.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=74013</wfw:commentRss><description>&lt;p&gt;Glad it worked! =)&lt;/p&gt;</description></item><item><title>Re: How to auto select the top(1) item for a dropDownListBox</title><link>https://www.infopathdev.com:443/forums/thread/74011.aspx</link><pubDate>Mon, 16 Jan 2012 15:02:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74011</guid><dc:creator>snow.snow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74011.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=74011</wfw:commentRss><description>&lt;p&gt;Thank you Jo-Anne,&lt;/p&gt;
&lt;p&gt;I got it. I add filter and select the top 1 title.&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;TestList&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title[contains(../first_name, xdXDocument:get-DOM()/dd:FirstName)][1]&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to auto select the top(1) item for a dropDownListBox</title><link>https://www.infopathdev.com:443/forums/thread/74010.aspx</link><pubDate>Mon, 16 Jan 2012 14:55:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74010</guid><dc:creator>snow.snow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74010.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=74010</wfw:commentRss><description>&lt;p&gt;Thank you Jo-anne,&lt;/p&gt;
&lt;p&gt;the dropdow list has filter in the Title, so the top one in the secondary data connection some time is not in the filtered data lists(the #1 in the secondary data is not in the dropDownListbox items)...&lt;/p&gt;</description></item><item><title>Re: How to auto select the top(1) item for a dropDownListBox</title><link>https://www.infopathdev.com:443/forums/thread/74006.aspx</link><pubDate>Mon, 16 Jan 2012 14:29:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74006</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=74006</wfw:commentRss><description>&lt;p&gt;Hi snow.snow,&lt;/p&gt;
&lt;p&gt;You can set the default value of the dropdown list box to the item in your secondary data connection. That will display the first item in the list. The formula should look something like:&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;TestList&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[1]/d:Title&lt;/p&gt;
&lt;p&gt;Where &amp;quot;TestList&amp;quot; is your secondary data connection and&amp;nbsp;d:Title is the field used to display the items in the dropdown. While&amp;nbsp;[1] is manually added in the formula.&lt;/p&gt;</description></item><item><title>How to auto select the top(1) item for a dropDownListBox</title><link>https://www.infopathdev.com:443/forums/thread/74004.aspx</link><pubDate>Mon, 16 Jan 2012 13:30:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74004</guid><dc:creator>snow.snow</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74004.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=74004</wfw:commentRss><description>&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I need to set a value on&amp;nbsp;a dropDownListbox to the first list item.&amp;nbsp; This list box is retrieving items from a webservice. But always show up the blank&amp;nbsp;item&amp;nbsp;after the data retrieved. Any one knows how to auto-Select the top 1 item or remove that blank item from the lists?&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Thank you!&lt;/span&gt;</description></item></channel></rss>