<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Persist data in dynamically populated dropdown listbox</title><link>https://www.infopathdev.com:443/forums/thread/30685.aspx</link><pubDate>Tue, 22 Jul 2008 22:39:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30685</guid><dc:creator>bluering</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30685.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=30685</wfw:commentRss><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have two dropdown listboxes on my&amp;nbsp;InfoPath form.&amp;nbsp; The values in listbox #2 are determined by the selection in listbox #1. Thanks to forums like this one, I found a way to make this work.&amp;nbsp; I bound an XML file to listbox #2 as a secondary data source&amp;nbsp;and programmatically populate listbox #2.&lt;/p&gt;
&lt;p&gt;My&amp;nbsp;question is how do I persist the data and the selection in listbox #2 after the form is saved and later reopened?&lt;/p&gt;
&lt;p&gt;As Greg suggested, I tried dragging a field&amp;nbsp;from the Main data source to to listbox #2&amp;nbsp;but it wouldn&amp;#39;t take.&amp;nbsp; The field I tried to drag over was of the same name as the listbox,&amp;nbsp;was that wrong?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m new to SharePoint and InfoPath, any help you can offer would be appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;P.S.&amp;nbsp; the InfoPath form is browser-enabled.&lt;/p&gt;</description></item></channel></rss>