<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: DropDownList Display Name and Value.</title><link>https://www.infopathdev.com:443/forums/thread/14032.aspx</link><pubDate>Tue, 22 Nov 2005 22:18:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14032</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14032.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14032</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Read this:&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1054&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1054&lt;/a&gt;&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1258&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1258&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché&lt;br /&gt;InfoPathDev</description></item><item><title>DropDownList Display Name and Value.</title><link>https://www.infopathdev.com:443/forums/thread/12691.aspx</link><pubDate>Tue, 22 Nov 2005 21:55:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12691</guid><dc:creator>pkkamisetty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12691.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12691</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I am populating the dropdownlist from a webservice.&lt;br /&gt;&lt;br /&gt;I set the display Name and Value fields of the &lt;br /&gt;&lt;br /&gt;dropdownlist to UserName and UserId.&lt;br /&gt;&lt;br /&gt;The dropdownlist is inside the reapeating table, so that&lt;br /&gt;the user can add dropdown list and select another user.&lt;br /&gt;I have to do this because we don't have list box in Infopath.&lt;br /&gt;&lt;br /&gt;When I save the form the form's xml file contains only the userId. &lt;br /&gt;&lt;br /&gt;I would also like to save the UserName in the form's xml file.&lt;br /&gt;&lt;br /&gt;Cause I am reading the form's xml file and converting it to html&lt;br /&gt;&lt;br /&gt;and I want to show only the UserName not the UserId.&lt;br /&gt;&lt;br /&gt;I don't want to create another textfield and set its value to the UserName.&lt;br /&gt;&lt;br /&gt;I have added a UserName field in the Main source.&lt;br /&gt;&lt;br /&gt;I would like to fill this field with UserName.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I guess all I want to do is save the UserId and UserName in the form's xml file when a user selected an item from the dropdownlist.&lt;br /&gt;&lt;br /&gt;Please let me know how I can do this.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Praveen.&lt;br /&gt;&lt;br /&gt;Praveen Kamisetty</description></item></channel></rss>