<?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: Test control</title><link>https://www.infopathdev.com:443/forums/thread/13653.aspx</link><pubDate>Wed, 28 Sep 2005 21:25:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13653</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13653.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13653</wfw:commentRss><description>It sounds like you are asking if there is a way to determine what type of a control either A) the user is currently focused in, or B) is bound to a particular field in your DOM.&lt;br /&gt;&lt;br /&gt;The answer is that you can't... at least not directly.&lt;br /&gt;&lt;br /&gt;There might be a round-about way to do this which is to load the particular view into your code, and search it for the field in question, and then from there step back up the DOM to determine which control is being used.&lt;br /&gt;&lt;br /&gt;This will take some good coding on your part, but I believe it is doable.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]&lt;br /&gt;InfoPath Dev</description></item><item><title>Test control</title><link>https://www.infopathdev.com:443/forums/thread/12581.aspx</link><pubDate>Tue, 27 Sep 2005 06:38:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12581</guid><dc:creator>Landolsi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12581</wfw:commentRss><description>Hy&lt;br /&gt;&lt;br /&gt;I want to test in my InfoPath form is what a control is TextBox or DropDownList &lt;br /&gt;&lt;br /&gt;how  ???&lt;br /&gt;&lt;br /&gt;Landolsi&lt;br /&gt;Developpeur .NET&lt;br /&gt;Developpeur Php&lt;br /&gt;&lt;br /&gt;skype : mlaipsorg&lt;br /&gt;</description></item></channel></rss>