<?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: Blank entry in list box and drop down listbox</title><link>https://www.infopathdev.com:443/forums/thread/11927.aspx</link><pubDate>Fri, 08 Dec 2006 11:32:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11927</guid><dc:creator>Laeus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11927.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11927</wfw:commentRss><description>Thanks frik. I guess if its by design then I can a live with it... a bit of an annoyance really but I suppose they had a reason for doing it.&lt;br /&gt;&lt;br /&gt;Thanks for the info.</description></item><item><title>Re: Blank entry in list box and drop down listbox</title><link>https://www.infopathdev.com:443/forums/thread/11926.aspx</link><pubDate>Fri, 08 Dec 2006 03:56:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11926</guid><dc:creator>frikkenator</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11926.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11926</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Laeus&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Was a fix for this problem ever found?&lt;br /&gt;&lt;br /&gt;Im experieencing something similar now and this is the only reference I could find.&lt;br /&gt;&lt;br /&gt;Im using InfoPath 2007 Beta 2 also&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;&lt;br /&gt;Hi Laeus,&lt;br /&gt;&lt;br /&gt;Unfortunatly not really. I communicated this problem to MS, apparently this is by design. There is a fix for this according to them, I got the fix to work for forms opened in Infopath itself, but not for forms opened in a web browser using Infopath Forms Services. Below you can fand the fix according to MS. Hope this helps!&lt;br /&gt;&lt;br /&gt; &lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;br /&gt;In regard to the above referenced bug, this behavior is by design and also occurs in InfoPath 2003. The reason this is “by design” is that in most cases you want to the user to make an explicit choice from the list – hence the blank line forces a selection (you could always add custom data validation to insure this field is not blank before the form is submitted, saved, etc.) &lt;br /&gt;&lt;br /&gt;Now, you can change this behavior in a couple of ways:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;-	Add a “default value” to the node the list is bound to. Keep in mind, this will not remove the blank line but will simply cause a value to be displayed in the box when opened:&lt;/b&gt;&lt;br /&gt;o	Open your form template in Design View&lt;br /&gt;o	Display the Data Source task pane&lt;br /&gt;o	Right-click on the node the list box is bound to and choose Properties&lt;br /&gt;o	In the Default Value field, enter a value that corresponds to one of the values returned from the data source&lt;br /&gt;&lt;br /&gt;&lt;b&gt;-	Hand modify the XSL to either remove the blank line or add text to that entry so instead of being a blank line it would show something like “Select from this list…”&lt;/b&gt;&lt;br /&gt;o	Open the XSN in Design View&lt;br /&gt;o	From the File menu choose Save as source files and save these to a new folder&lt;br /&gt;o	Open the view that contains the control displaying the blank line - search for an entry that looks similar to this:&lt;br /&gt;&amp;lt;select class="xdComboBox xdBehavior_Select" title="" style="WIDTH: 245px" size="1" xd:CtrlId="CTRL1" xd:xctname="dropdown" value="" xd:boundProp="value" xd:binding="my:field1" tabIndex="0"&amp;gt;&lt;br /&gt;&amp;lt;option/&amp;gt;&lt;br /&gt;o	To completely remove the blank line, simply remove the "&amp;lt;option/&amp;gt;" tag noted above:&lt;br /&gt;&amp;lt;select class="xdComboBox xdBehavior_Select" title="" style="WIDTH: 245px" size="1" xd:CtrlId="CTRL1" xd:xctname="dropdown" value="" xd:boundProp="value" xd:binding="my:field1" tabIndex="0"&amp;gt;&lt;br /&gt;o	To add some text to the blank line, modify the option tag:&lt;br /&gt;&amp;lt;select class="xdComboBox xdBehavior_Select" title="" style="WIDTH: 245px" size="1" xd:CtrlId="CTRL1" xd:xctname="dropdown" value="" xd:boundProp="value" xd:binding="my:field1" tabIndex="0"&amp;gt;&lt;br /&gt;&amp;lt;option&amp;gt;Select from this list...&amp;lt;/option&amp;gt;&lt;br /&gt;o	Save and close the XSL&lt;br /&gt;o	Right-click on Manifest.xsf and choose Design&lt;br /&gt;o	From the File menu choose Save As and resave this as your XSN&lt;br /&gt;&lt;br /&gt;NOTE: By hand modifying the XSL, if any design changes are subsequently made to the view in the InfoPath editor (i.e. in Design View), then the hand modifications will be lost.&lt;br /&gt;&lt;br /&gt;Scott L. Heim, MCSD, MCSD.NET | Office InfoPath Beta | 980.776.9745 (work) | sheim@microsoft.com | M-F, 9:00 AM - 6:00 PM ET&lt;br /&gt;&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;</description></item><item><title>Re: Blank entry in list box and drop down listbox</title><link>https://www.infopathdev.com:443/forums/thread/11925.aspx</link><pubDate>Thu, 07 Dec 2006 22:05:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11925</guid><dc:creator>Laeus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11925.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11925</wfw:commentRss><description>Was a fix for this problem ever found?&lt;br /&gt;&lt;br /&gt;Im experieencing something similar now and this is the only reference I could find.&lt;br /&gt;&lt;br /&gt;Im using InfoPath 2007 Beta 2 also</description></item><item><title>Re: Blank entry in list box and drop down listbox</title><link>https://www.infopathdev.com:443/forums/thread/11924.aspx</link><pubDate>Mon, 02 Oct 2006 08:30:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11924</guid><dc:creator>frikkenator</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11924</wfw:commentRss><description>Hi Matt,&lt;br /&gt;&lt;br /&gt;Thank you for the reply. I've checked out the XML documents returned from the web services, and none of them contain empty nodes, in most cases I use the sam node for the display name and the value. I've even tried setting the list/dropdown list boxes' default value to 'Select...' which is then shown in the dropdown list, followed by all of the entries returned from the web service, but there is still an empty item right at the top, even before the default value.&lt;br /&gt;&lt;br /&gt;I know this version is still in BETA testing, which means it might be some unresolved issue, but I can't find anyone else having the same problem.&lt;br /&gt;&lt;br /&gt;Any ideas/info would be much appreciated.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Rudolph</description></item><item><title>Re: Blank entry in list box and drop down listbox</title><link>https://www.infopathdev.com:443/forums/thread/11923.aspx</link><pubDate>Fri, 29 Sep 2006 17:33:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11923</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11923.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11923</wfw:commentRss><description>Hello Frikkenator,&lt;br /&gt;&lt;br /&gt;What's happening is the node that stores the value of the drop-down list is blank, but since there is no coresponding display name with the value of "", then it simply shows the value which is "".  I hope this makes sense.&lt;br /&gt;&lt;br /&gt;To remedy the problem you should define an option in your web service that returns "Select one..." with the value as "", or you could write code to automatically set the value of the node as the first value returned from the web service.&lt;br /&gt;&lt;br /&gt;I hope this helps!</description></item><item><title>Blank entry in list box and drop down listbox</title><link>https://www.infopathdev.com:443/forums/thread/11729.aspx</link><pubDate>Fri, 29 Sep 2006 09:48:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11729</guid><dc:creator>frikkenator</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11729.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=11729</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I've designed a form template with a number of list boxes and drop down listbox, all of which gets their values from a web service returning an xml document. All of these boxes seem to always have an empty/blank entry as the first item in the list. Eventhough the xml document does not have any blank fields. &lt;br /&gt;&lt;br /&gt;This only happens in InfoPath 2007 Beta2.&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;Thx :)</description></item></channel></rss>