<?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: Display name from DDL</title><link>https://www.infopathdev.com:443/forums/thread/2171.aspx</link><pubDate>Tue, 18 Apr 2006 02:08:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2171</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2171.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2171</wfw:commentRss><description>If you have a Many-to-one relationship from Display Names to Values I'm afraid you are going to have to do tricky things to get the correct display value.&lt;br /&gt;&lt;br /&gt;As a general rule of thumb the names/values should be unique.</description></item><item><title>Re: Display name from DDL</title><link>https://www.infopathdev.com:443/forums/thread/2170.aspx</link><pubDate>Mon, 17 Apr 2006 23:15:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2170</guid><dc:creator>newbE</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2170</wfw:commentRss><description>ahh great, I did get this to work using secondary data sources. To get the secondary data source I created a form with a repeating table with two columns, one for displayname, and one for value(thanks Matt Faus for this info in another post). Then opened the form and filled it out with all the data I needed, then saved it as an XML.&lt;br /&gt;&lt;br /&gt;The filter option worked great, but only if I did &lt;br /&gt;MainDOMRepeatingValueField = New2DSValueField&lt;br /&gt;&lt;br /&gt;rather than &lt;br /&gt;New2DSValueField = MainDOMRepeatingValueField&lt;br /&gt;&lt;br /&gt;The only thing that I don't like is that if the value is the same for two different DisplayNames, when selected in the form they won't stay on the Displayname that was selected. To get around this I've been giving each displayname a unique value and creating an extra column with a hidden textbox, then using filters to populate the value of the  textbox to whatever I want based on the unique value of the original drop down list. Is there any other way of getting around this so I don't have to do so much extra work?&lt;br /&gt;&lt;br /&gt;Thanks for all your help Matt!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Display name from DDL</title><link>https://www.infopathdev.com:443/forums/thread/2169.aspx</link><pubDate>Thu, 13 Apr 2006 18:14:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2169</guid><dc:creator>newbE</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2169</wfw:commentRss><description>thanks for the info. Do you have any suggestions for creating the secondary data sources? And I also want to clarify.. In the second drop down list that is being populated from the drop down list in the repeating table, it is important that it retains both the value and display name. I need the value to filter specific data and populate other fields in my form, but I also need the display name to show because that is what the end user will see and need to understand.&lt;br /&gt;&lt;br /&gt;Thanks again for all your help.</description></item><item><title>Re: Display name from DDL</title><link>https://www.infopathdev.com:443/forums/thread/2168.aspx</link><pubDate>Wed, 12 Apr 2006 15:00:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2168</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2168</wfw:commentRss><description>Hi newbE,&lt;br /&gt;&lt;br /&gt;This is a great question and after looking at your form file, you are on the right track, but it is going to be a little more tricky than what you had thought.&lt;br /&gt;&lt;br /&gt;First, you need to move your drop-down options to a secondary data source, and populate both drop-downs from this list.&lt;br /&gt;&lt;br /&gt;However, on the second, filtered drop-down, you need to use a data filter whenever you are setting the entries in the properties dialog box. The filter would be something like:&lt;br /&gt;&lt;br /&gt;New2DSValueField = MainDOMRepeatingValueField&lt;br /&gt;&lt;br /&gt;In general, it is much easier to work with drop-downs if their options are stored in a secondary DOM.  If you need a more detailed instruction set for this process, there should be a HowTo coming out at the end of the week that might give you some insight.</description></item><item><title>Display name from DDL</title><link>https://www.infopathdev.com:443/forums/thread/1244.aspx</link><pubDate>Tue, 11 Apr 2006 21:19:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1244</guid><dc:creator>newbE</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1244</wfw:commentRss><description>I've created a repeating table with a DDL in it. The DDL is populated with alot of things. &lt;br /&gt;&lt;br /&gt;Elsewhere in my form I have a DDL that will look up values in the forms data source,(the repeating table DDL). This works almost exactly how I want it by showing only the things that were added in the repeating table rather than the huge list of things.  The problem is it shows the values and not the display name. &lt;br /&gt;&lt;br /&gt;Is there a way to get the display name to show in the drop down, while keeping its value?&lt;br /&gt;&lt;br /&gt;Here is a test3.xsn of what I am trying to do if this isn't making sense. Thanks!&lt;br /&lt;a target="_blank" href=http://www.solarlogic.net/test3.xsn&gt;http://www.solarlogic.net/test3.xsn&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>