<?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>Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx</link><description>When creating a form that deals with data that has already been collected and stored it is very convenient to have a drop-down menu that will populate several other fields whenever a selection is made. One such example of this would be a form used for</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Dropdown fields will not populate | Zupp Answers</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#100469</link><pubDate>Tue, 09 Dec 2014 16:45:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100469</guid><dc:creator>Dropdown fields will not populate | Zupp Answers</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dropdown fields will not populate | Zupp Answers&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=100469" width="1" height="1"&gt;</description></item><item><title>Como rellenar un campo con la selecci??n de un DropDown (Combo)   | Curiosities</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#94658</link><pubDate>Fri, 06 Dec 2013 16:21:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94658</guid><dc:creator>Como rellenar un campo con la selecci??n de un DropDown (Combo)   | Curiosities</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Como rellenar un campo con la selecci??n de un DropDown (Combo) &amp;nbsp; | Curiosities&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=94658" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#73254</link><pubDate>Mon, 26 Dec 2011 11:40:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73254</guid><dc:creator>increman</dc:creator><description>&lt;p&gt;Wonderful! I have been searching for the solution for a half year...&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=73254" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#70527</link><pubDate>Thu, 22 Sep 2011 13:04:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70527</guid><dc:creator>ktausher</dc:creator><description>&lt;p&gt;I figured it out. &amp;nbsp;In SharePoint 2010 the fields are set up in two groups - query and data - so the field names are prefaced with d: or q: &amp;nbsp; In my case the XPath looked like this.. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;ClientInfo&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title[../d:ID = current()]&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=70527" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#70500</link><pubDate>Wed, 21 Sep 2011 22:22:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70500</guid><dc:creator>ktausher</dc:creator><description>&lt;p&gt;I can get this to work wonderfully with an xml file - but when I try to attach it to a SharePOint list as the data source it gives me an error. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I saw this post &lt;a rel="nofollow" target="_new" href="http://www.infopathdev.com/forums/p/4204/16494.aspx#16494"&gt;www.infopathdev.com/.../16494.aspx&lt;/a&gt; &amp;nbsp; &lt;/p&gt;
&lt;p&gt;and they said to add @ signs - however that is not working for me and I wonder if perhaps it's different in 2010. &amp;nbsp; Help anyone?&lt;/p&gt;
&lt;p&gt;Thanks! &amp;nbsp;Karen&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=70500" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#69588</link><pubDate>Wed, 24 Aug 2011 06:06:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69588</guid><dc:creator>Murphy2011</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;thank you for this great tutorial. It works very fine. I just have one problem, with fields that contain more than one value. In that case, either the first value is taken or - what is very funny - a new number-value is generated in the list of possible text-values of the column. Is there a possibility to also use &amp;quot;look-up&amp;quot; fields with many values?&lt;/p&gt;
&lt;p&gt;Thanks for reply,&lt;/p&gt;
&lt;p&gt;Murphy&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=69588" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#66843</link><pubDate>Thu, 26 May 2011 21:01:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66843</guid><dc:creator>smcclendon</dc:creator><description>&lt;p&gt;Got it....I had something wrong with my souce data. &lt;/p&gt;
&lt;p&gt;Quick question tho..... Is there a way to set a default value of the drop down?&lt;/p&gt;
&lt;p&gt;My form pulls user data from their LAN profile. I also have the matching data in my source file. I don't want the drop down box...I just want the form to crap the record from the source data that matched the LAN profile data. &lt;/p&gt;
&lt;p&gt;Any help?&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=66843" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#66827</link><pubDate>Thu, 26 May 2011 14:48:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66827</guid><dc:creator>smcclendon</dc:creator><description>&lt;p&gt;I am still having some trouble with this. &lt;/p&gt;
&lt;p&gt;I think this is my problem: &amp;nbsp;&lt;/p&gt;
&lt;p&gt;[../ID = current()] &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can someone tell me about correct syntax? What is &amp;quot;ID&amp;quot; is that the name of the field name from the external data source?&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=66827" width="1" height="1"&gt;</description></item><item><title>traffic travis 4 professional</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#66043</link><pubDate>Wed, 20 Apr 2011 09:52:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66043</guid><dc:creator>traffic travis 4 professional</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;traffic travis 4 professional&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=66043" width="1" height="1"&gt;</description></item><item><title>Dark Under Eye</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#65082</link><pubDate>Fri, 11 Mar 2011 02:12:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65082</guid><dc:creator>Dark Under Eye</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dark Under Eye&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=65082" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#53229</link><pubDate>Tue, 30 Mar 2010 10:22:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53229</guid><dc:creator>Flashbag</dc:creator><description>&lt;p&gt;Wow.!&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=53229" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#49041</link><pubDate>Fri, 13 Nov 2009 16:36:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49041</guid><dc:creator>warrtalon</dc:creator><description>&lt;p&gt;I don't think a data connection like that can pull in an image, but I haven't tried it either.&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=49041" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#49039</link><pubDate>Fri, 13 Nov 2009 16:22:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49039</guid><dc:creator>Jason_2009</dc:creator><description>&lt;p&gt;On a side note, &lt;/p&gt;
&lt;p&gt;Would taking this idea and applying it to adding an image from the current node to the form be possible? &amp;nbsp;Or can you just add text data?&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=49039" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#49035</link><pubDate>Fri, 13 Nov 2009 15:45:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49035</guid><dc:creator>Jason_2009</dc:creator><description>&lt;p&gt;Basically I wasn't editing the Xpath. &lt;/p&gt;
&lt;p&gt;Once I clicked on &amp;quot;Advanced&amp;quot; and added this statement:&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Clients&amp;quot;)/ClientInfo/Clients/Client/Name[../ID = current()] &lt;/p&gt;
&lt;p&gt;Everything worked fine. &lt;/p&gt;
&lt;p&gt;I was assuming that this part: &amp;nbsp;[../fieldName&lt;/p&gt;
&lt;p&gt;was an abreviation of something that only pertained to his schema which of course was incorrect. &amp;nbsp;Didn't realize that [../ &amp;nbsp;was actually part of the syntax. &lt;/p&gt;
&lt;p&gt;Thanks again for the help. &amp;nbsp;This was becoming a major thorn. &lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=49035" width="1" height="1"&gt;</description></item><item><title>re: Automatically Populate Fields from a Drop-Down Selection</title><link>https://www.infopathdev.com:443/blogs/matt/archive/2006/04/18/Automatically-Populate-Fields-from-a-Drop_2D00_Down-Selection.aspx#49024</link><pubDate>Fri, 13 Nov 2009 02:23:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49024</guid><dc:creator>warrtalon</dc:creator><description>&lt;p&gt;Great, Jason. &amp;nbsp;Do you mind sharing what you changed to get it working?&lt;/p&gt;
&lt;img src="https://www.infopathdev.com:443/aggbug.aspx?PostID=49024" width="1" height="1"&gt;</description></item></channel></rss>