<?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: Disabling all controls</title><link>https://www.infopathdev.com:443/forums/thread/20725.aspx</link><pubDate>Thu, 14 Jun 2007 08:27:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20725</guid><dc:creator>Kalyan Gaddam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=20725</wfw:commentRss><description>&lt;p&gt;Hello&amp;nbsp; Helena&lt;/p&gt;&lt;p&gt;Try creating an Identical view with all the Controls disabled(except the drop down) , something like Read Only. &lt;/p&gt;&lt;p&gt;You can switch to this read only view when the status is changed in the drop down or when the form is submitted.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hope this helps you&lt;/p&gt;</description></item><item><title>Disabling all controls</title><link>https://www.infopathdev.com:443/forums/thread/20722.aspx</link><pubDate>Thu, 14 Jun 2007 07:41:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20722</guid><dc:creator>solo42</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20722.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=20722</wfw:commentRss><description>&lt;p&gt;Hello!&lt;/p&gt;&lt;p&gt;I have a large form in which the user can enter information in a number of text fields and dropdown lists. One of the dropdown lists is used to set status for the form, if the user chooses to submit the form with the status &amp;quot;Approved&amp;quot; I want to disable all controls in the form&amp;nbsp;except for&amp;nbsp;the status dropdown. Now, is there any way to do this in code? My current solution is to&amp;nbsp;use conditional formatting on every&amp;nbsp;control which disables the control if the status&amp;nbsp;is set to &amp;quot;Approved&amp;quot;. This is no good for two reasons: it&amp;#39;s tedious&amp;nbsp;and inflexible to do this manually for every control, and the disabling takes place when the status is changed&amp;nbsp;rather than when the form is submitted (although this is not a big issue).&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any ideas will be greatly appreciated!&lt;/p&gt;&lt;p&gt;Regards, Helena&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>