<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Drop Down Lists Populated via XML File</title><link>https://www.infopathdev.com:443/forums/thread/23022.aspx</link><pubDate>Thu, 13 Sep 2007 05:42:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23022</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23022.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23022</wfw:commentRss><description>&lt;p&gt;1. Create an xml that looks like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;users&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;user name=&amp;quot;John&amp;quot; email=&amp;quot;jdoe@yourdomain&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;user name=&amp;quot;Mike&amp;quot; email=&amp;quot;mdeere@yourdomain&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; ...&lt;br /&gt;&amp;lt;/users&amp;gt;&lt;/p&gt;
&lt;p&gt;2. Add this xml as a secondary data source (say, &amp;quot;Users&amp;quot;)&lt;/p&gt;
&lt;p&gt;3. When editing the listbox properties, point it to take its values from Users. Select /users/user for the repeating path. Then for display value select @name and for the value select @email.&lt;/p&gt;
&lt;p&gt;This should do what you are trying to achieve.&lt;/p&gt;</description></item><item><title>Drop Down Lists Populated via XML File</title><link>https://www.infopathdev.com:443/forums/thread/23015.aspx</link><pubDate>Wed, 12 Sep 2007 17:30:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23015</guid><dc:creator>tazzmann67</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23015.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=23015</wfw:commentRss><description>&lt;p&gt;I have a form that a created some time ago that I used a drop down list. I actually populated this manually (yes manually). the reason I did that was because my users are out in the field and have to VPN in to our network (making connections agonizingly slow). However by creating the drop down&amp;#39;s manually they could open, fill out, and save the form, then send it later via VPN connection. This all has been working fine except for the fact each time a user leaves or is hired the form must be updated and in trun the end user has to update the form as well (here we go with the slowness again). &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now what i want to do instead is create an XML file that can be added to the form as a secondary data source for populating the drop downs. then when they come in for monthly sales meeting we can get them to update any changes that have been made.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now to what I really want. I want a drop down list based on an XML file that will fill will allow them to choose their name&amp;nbsp;but the drop down will use the value of their email address.&lt;/p&gt;
&lt;p&gt;Example. The user clicks the drop down list, a list of names appears and they click&amp;nbsp;on their name, this will be the &amp;quot;display&amp;quot; of the drop down, however the value of that choice will be their email address. this is hwo I have it setup now on the manual version the the form i previously created. I use this &amp;quot;field&amp;quot; later on when another user clicks on a &amp;quot;button&amp;quot; and the form is emailed depending on the value of that specific drop down list earlier in the form. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>