<?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: get DisplayName value from a drop down list box - without data connection</title><link>https://www.infopathdev.com:443/forums/thread/59390.aspx</link><pubDate>Tue, 28 Sep 2010 15:00:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59390</guid><dc:creator>blueeyedtxn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59390.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59390</wfw:commentRss><description>&lt;p&gt;thanks so much for the informatioin, hilary. i knew someone would know.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i&amp;#39;m actually using external xml to populate some cascading drop downs elsewhere in the form, so it should be easy to set this up. i just thought it made more sense to hardcode since it was a static set of values and a small number of items. obviously i was wrong ;-)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;thanks again!&lt;/p&gt;
&lt;p&gt;david&lt;/p&gt;</description></item><item><title>Re: get DisplayName value from a drop down list box - without data connection</title><link>https://www.infopathdev.com:443/forums/thread/59362.aspx</link><pubDate>Mon, 27 Sep 2010 22:53:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59362</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59362.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59362</wfw:commentRss><description>&lt;p&gt;Hi -- I&amp;#39;m afraid you&amp;#39;ll need a handful of rules with conditions for this, since your values are hardcoded into your form -- basically, if the value of the field the dropdown uses is 1 (for example), you&amp;#39;ll set the textbox to the appropriate description (&amp;quot;New&amp;quot;, for instance).&lt;/p&gt;
&lt;p&gt;May I suggest that instead of using hard coded values, you just use an XML file as a resource in your form and have all your displays and values in there? Then you could use a filter instead of having to have a bunch of rules and conditions. I think that would be a more maintainable solution going forward. &lt;/p&gt;
&lt;p&gt;The amazing Jimmy Rishe recently &lt;a href="http://www.infopathdev.com/forums/p/16831/59077.aspx#59077"&gt;posted a reply&lt;/a&gt; with some info on this, take a look and see if it helps you.&lt;/p&gt;</description></item><item><title>get DisplayName value from a drop down list box - without data connection</title><link>https://www.infopathdev.com:443/forums/thread/59360.aspx</link><pubDate>Mon, 27 Sep 2010 22:34:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59360</guid><dc:creator>blueeyedtxn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59360.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=59360</wfw:commentRss><description>&lt;p&gt;hi all,&lt;/p&gt;
&lt;p&gt;first i &amp;#39;d like to say a big thank you to all of the great folks who consistently share their know-how on this site. it has saved me on countless occasions.&lt;/p&gt;
&lt;p&gt;i&amp;#39;ve spent all day trying to find an answer to my question and haven&amp;#39;t been able to, so here goes:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Infopath 2003 - i have a form with multiple sections some of which are hidden based upon user roles. in one section i have a drop down list box for the &amp;quot;status&amp;quot; of a project. the drop down list is &amp;#39;hard coded&amp;#39; with values/display names (e.g. add&amp;#39;lInfo/Waiting Add&amp;#39;l Info or newSubmission/New Submission, etc.). &lt;/p&gt;
&lt;p&gt;the list box has to be ina section that is hidden from one of the user roles - &amp;#39;general users&amp;#39; - however i need to place a text box in the form section that general users see that reflects the current value from the drop down list box. the general user sees &amp;quot;The current status is: textboxgoeshere&amp;quot;. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;the problem i&amp;#39;m having is that i need the Display Name but i&amp;#39;m getting the value. (ex: i get add&amp;#39;lInfo when i need Waiting Add&amp;#39;l Info. i&amp;#39;ve seen many posts answering a similar problem but they are all using a data connection and filters&amp;nbsp;to pull in the list box items. i&amp;#39;m not - as i said my values are hard coded in the list box properties.&lt;/p&gt;
&lt;p&gt;right now i have a rule applied to the drop down box that&amp;#39;s set to &amp;quot;Set a field&amp;#39;s value&amp;quot;. for the Field i have statusText (the name of the text box i&amp;#39;m trying to populate) and in the Value i have &amp;quot;.&amp;quot; (that&amp;#39;s an underlined period) which i got by choosing the fx button and then selecting &amp;#39;status&amp;#39; in the main data source. (&amp;#39;status&amp;#39; is the name for the drop down). i don&amp;#39;t have any filter on there coz i couldn&amp;#39;t figure out a combination that would work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;can anyone help me fill the text box with the display name instead of the value? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;any help would be much appreciated.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;david&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>