<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Display Drop Down List's name and value</title><link>https://www.infopathdev.com:443/forums/thread/8834.aspx</link><pubDate>Tue, 17 Jan 2006 16:59:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8834</guid><dc:creator>mobcdi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8834.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8834</wfw:commentRss><description>Thanks Thierry</description></item><item><title>Re: Display Drop Down List's name and value</title><link>https://www.infopathdev.com:443/forums/thread/8833.aspx</link><pubDate>Tue, 17 Jan 2006 13:11:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8833</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8833.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8833</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Welcome on board!&lt;br /&gt;&lt;br /&gt;Yes it's possible! But you need to modify your view.xsl!&lt;br /&gt;&lt;br /&gt;If your ddl is in a section you can make a preserve code block for don't have to modify your view each time that you publish&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Find your ddl in your view it appear like this:&lt;br /&gt;&lt;pre&gt;&amp;lt;select class="xdComboBox xdBehavior_Select" title="" style="FONT-FAMILY: Arial" size="1" xd:xctname="DropDown" xd:CtrlId="CTRL488" xd:binding="func" xd:boundProp="value" value="" tabIndex="0"&amp;gt;&lt;br /&gt;	&amp;lt;xsl:attribute name="value"&amp;gt;&amp;lt;xsl:value-of select="func"/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;	&amp;lt;xsl:choose&amp;gt;&lt;br /&gt;		&amp;lt;xsl:when test="function-available('xdXDocument:GetDOM')"&amp;gt;&lt;br /&gt;			&amp;lt;option/&amp;gt;&lt;br /&gt;			&amp;lt;xsl:variable name="val" select="func"/&amp;gt;&lt;br /&gt;			&amp;lt;xsl:if test="not(xdXDocument:GetDOM("getFunction")/dfs:myFields/dfs:dataFields/tns:getFunctionResponse/tns:getFunctionResult/TabEigZb/EigZb[text=$val] or $val='')"&amp;gt;&lt;br /&gt;				&amp;lt;option selected="selected"&amp;gt;&lt;br /&gt;					&amp;lt;xsl:attribute name="value"&amp;gt;&amp;lt;xsl:value-of select="$val"/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;					&amp;lt;xsl:value-of select="$val"/&amp;gt;&lt;br /&gt;				&amp;lt;/option&amp;gt;&lt;br /&gt;			&amp;lt;/xsl:if&amp;gt;&lt;br /&gt;			&amp;lt;xsl:for-each select="xdXDocument:GetDOM("getFunction")/dfs:myFields/dfs:dataFields/tns:getFunctionResponse/tns:getFunctionResult/TabEigZb/EigZb"&amp;gt;&lt;br /&gt;				&amp;lt;option&amp;gt;&lt;br /&gt;					&amp;lt;xsl:attribute name="value"&amp;gt;&amp;lt;xsl:value-of select="text"/&amp;gt;&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;					&amp;lt;xsl:if test="$val=text"&amp;gt;&lt;br /&gt;						&amp;lt;xsl:attribute name="selected"&amp;gt;selected&amp;lt;/xsl:attribute&amp;gt;&lt;br /&gt;					&amp;lt;/xsl:if&amp;gt;&lt;br /&gt;					&amp;lt;xsl:value-of select="kurz"/&amp;gt;&lt;br /&gt;				&amp;lt;/option&amp;gt;&lt;br /&gt;			&amp;lt;/xsl:for-each&amp;gt;&lt;br /&gt;		&amp;lt;/xsl:when&amp;gt;&lt;br /&gt;		&amp;lt;xsl:otherwise&amp;gt;&lt;br /&gt;			&amp;lt;option&amp;gt;&lt;br /&gt;				&amp;lt;xsl:value-of select="func"/&amp;gt; //enter here the second value that you need to display in the ddl&lt;br /&gt;			&amp;lt;/option&amp;gt;&lt;br /&gt;		&amp;lt;/xsl:otherwise&amp;gt;&lt;br /&gt;	&amp;lt;/xsl:choose&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;   &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Each time that you modify the entry in your ddl you need to make this one more time! The only possibility for that is make a preserve code block but if you do this you can no longer edit your ddl in infopath design mode&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry</description></item><item><title>Display Drop Down List's name and value</title><link>https://www.infopathdev.com:443/forums/thread/5278.aspx</link><pubDate>Tue, 17 Jan 2006 11:17:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5278</guid><dc:creator>mobcdi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5278</wfw:commentRss><description>Is it possible to display the name and value fields of a drop down list in separate text boxes. I have the values for the ddl coming from the main connection but need to display both values on the infopath form</description></item></channel></rss>