<?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: how to populate drop down list's values based on a textbox value</title><link>https://www.infopathdev.com:443/forums/thread/52581.aspx</link><pubDate>Tue, 09 Mar 2010 22:10:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52581</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=52581</wfw:commentRss><description>&lt;p&gt;Hi Lindie,&lt;/p&gt;
&lt;p&gt;One way you&amp;nbsp;could do this if you populate the dropdown value from a secondary data source (2DS).&lt;/p&gt;
&lt;p&gt;See the sample template I created, if you preview the template and put in A, B, or C you will see the dropdown values change.&lt;/p&gt;
&lt;p&gt;The steps to do this are:&lt;/p&gt;
&lt;p&gt;1. Create your secondary data source - I did this in Access and exported as XML&lt;br /&gt;2. Import into your form template as in data connections&lt;br /&gt;3. Add your text field that filters the drop down&lt;br /&gt;4. Add the dropdown, bind it to the secondary data source&lt;br /&gt;5. Add a filter to the dropdown when you bind it to the 2DS so that the values shown in the drop down are FilterName = text box value&lt;/p&gt;
&lt;p&gt;One limitation to this is that if a user puts in &amp;quot;a&amp;quot; instead of &amp;quot;A&amp;quot; it won&amp;#39;t work but you can put data validation on the text box field and prevent users from entering &amp;quot;a&amp;quot;, &amp;quot;b&amp;quot; or &amp;quot;c&amp;quot; and force them to use caps or vice versa&lt;/p&gt;
&lt;p&gt;Hope that helps&lt;/p&gt;
&lt;p&gt;Ted&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>how to populate drop down list's values based on a textbox value</title><link>https://www.infopathdev.com:443/forums/thread/52567.aspx</link><pubDate>Tue, 09 Mar 2010 10:05:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52567</guid><dc:creator>Lindie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52567.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=52567</wfw:commentRss><description>&lt;p&gt;Hi, everyone&lt;/p&gt;
&lt;p&gt;I read a lot online about how to populate&amp;nbsp;a text box value based on drop down list value.&lt;/p&gt;
&lt;p&gt;But what I want to achieve is another way&amp;nbsp;around, how to populate&amp;nbsp;a dropdown list&amp;nbsp;based on a textbox value.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;when value A is in the textbox, the drop down list next to the textbox will show up value 1 and 2 for filler to choose, and when value B is in the textbox, the dropdown list will show up value 3 and 4, when value C s in it, the dropdown list will show up only value 5.&lt;/p&gt;
&lt;p&gt;Thanks a lot!!!&lt;/p&gt;</description></item></channel></rss>