<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Setting the default value of a text box to be the "Display name" from a drop down list box</title><link>https://www.infopathdev.com:443/forums/thread/62400.aspx</link><pubDate>Fri, 17 Dec 2010 17:44:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62400</guid><dc:creator>whizzconsult</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62400.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=62400</wfw:commentRss><description>&lt;p&gt;Hi guys, I am getting the same error as Patrick mentioned above.&amp;nbsp; Has anyone figured out the correct way to access the display name as opposed to the value?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Leland&lt;/p&gt;</description></item><item><title>Re: Setting the default value of a text box to be the "Display name" from a drop down list box</title><link>https://www.infopathdev.com:443/forums/thread/29444.aspx</link><pubDate>Tue, 17 Jun 2008 17:16:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29444</guid><dc:creator>Patrick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=29444</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Clay, &lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for the response.&amp;nbsp; I was out of the country for a while, so I just got a chance to look at this.&amp;nbsp; &lt;/p&gt;&lt;p&gt;The concat formula you replied with...do I type that when the &amp;quot;Edit XPath (advanced)&amp;quot; is checked? or does it not matter?&lt;/p&gt;&lt;p&gt;I tried typing that in and here&amp;#39;s what it looks like in the formula field:&lt;/p&gt;&lt;p&gt;&lt;i&gt;concat(&lt;b&gt;SOFST_CircuitQuantity_drop&lt;/b&gt;, &amp;quot;x&amp;quot;, display[value=&lt;b&gt;SOFST_CircuitType_drop&lt;/b&gt;], &amp;quot; @ &amp;quot;, &lt;/i&gt;&lt;i&gt;display[value=&lt;/i&gt;&lt;i&gt;&lt;b&gt;SOFST_PortBandwidth_drop&lt;/b&gt;])&lt;/i&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m getting this error:&amp;nbsp; &lt;i&gt;&amp;quot;display/value&amp;quot; does not point to a valid location path of a field or group.&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Maybe I misunderstood what you meant me to try.&amp;nbsp; Any ideas?&amp;nbsp; &lt;/p&gt;&lt;p&gt;Thanks&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Setting the default value of a text box to be the "Display name" from a drop down list box</title><link>https://www.infopathdev.com:443/forums/thread/29205.aspx</link><pubDate>Thu, 05 Jun 2008 19:45:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29205</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29205.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=29205</wfw:commentRss><description>&lt;p&gt;Hey Patrick.&lt;/p&gt;
&lt;p&gt;You would just need to backtrack.&lt;/p&gt;
&lt;p&gt;If you know the values then just use a filter to get the display field.&lt;/p&gt;
&lt;p&gt;concat(txt1, &amp;quot;x&amp;quot;, display[value=ddl1], &amp;quot;@&amp;quot;, display[value=ddl2])&lt;/p&gt;
&lt;p&gt;So you just need to reference your secondary SP lists and look up the display field value where the value fields = what was selected.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;</description></item><item><title>Setting the default value of a text box to be the "Display name" from a drop down list box</title><link>https://www.infopathdev.com:443/forums/thread/29176.aspx</link><pubDate>Wed, 04 Jun 2008 18:12:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29176</guid><dc:creator>Patrick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29176.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=29176</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I have a situation in which I hope there&amp;#39;s a simple solution...&lt;/p&gt;&lt;p&gt;I have a few controls, 2 text boxes and 2 drop down list boxes.&amp;nbsp; The drop downs are receiving their entries from 2 SharePoint Lists and have different columns feeding the &amp;quot;Display name&amp;quot; and &amp;quot;Value&amp;quot; properties in each.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;i&gt;DDL1: Linked to Secondary Data Source (DS2)&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;DDL2: Linked to Secondary Data Source (DS3)&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;Txt1: Linked to Main Data Source&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;Txt2: Linked to Main Data Source&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I would like to use the concat() function to take the &amp;quot;Display name&amp;quot; entries from Txt1 and each list box and show the result in the Txt2.&amp;nbsp; When I do this, it shows me the &amp;quot;Value&amp;quot; from each drop down instead of the &amp;quot;Display name&amp;quot;.&lt;/p&gt;&lt;p&gt;This is an example of my formula:&lt;br /&gt;concat(Txt1, &amp;quot;x&amp;quot;, DDL1, &amp;quot; @ &amp;quot;, DDL2)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am wondering how to show the &amp;quot;display name&amp;quot; of each text box instead of each value.&amp;nbsp; I assume this is done with XPath, but I&amp;#39;m still learning.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Formula:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;concat(SOFST_CircuitQuantity_drop, &amp;quot;x&amp;quot;, SOFST_CircuitType_drop, &amp;quot; @ &amp;quot;, SOFST_PortBandwidth_drop) &lt;/i&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;quot;Edit XPath (advanced)&amp;quot; &lt;/b&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;concat(../../../my:SOFST_Network_Tab_sec/my:SOFST_CircuitQuantity_drop, &amp;quot;x&amp;quot;, ../../../my:SOFST_Network_Tab_sec/my:SOFST_CircuitType_drop, &amp;quot; @ &amp;quot;, ../../../my:SOFST_Network_Tab_sec/my:SOFST_PortBandwidth_drop)&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am using IDs as the values for each drop down, which are in the form of numbers with dashes: # - # - # # - # # #&amp;nbsp;&lt;/p&gt;&lt;p&gt;The output looks like this:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;font&gt;&lt;b&gt;3&lt;/b&gt;x&lt;b&gt;3-7&lt;/b&gt; @ &lt;b&gt;3-7-10-375&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;The desired output would look like this:&lt;/p&gt;&lt;p&gt;&lt;b&gt;3&lt;/b&gt;x&lt;b&gt;T1&lt;/b&gt; @ &lt;b&gt;4.5 Mbps&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I hope I gave enough information.&amp;nbsp; Any help is much appreciated, as always.&amp;nbsp; You guys are great!&lt;i&gt; &lt;br /&gt;&lt;/i&gt;&lt;/p&gt;</description></item></channel></rss>