<?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: How to disable a control on a button click using Java script Code in office info path 2007</title><link>https://www.infopathdev.com:443/forums/thread/81623.aspx</link><pubDate>Tue, 14 Aug 2012 11:48:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81623</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81623.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81623</wfw:commentRss><description>There&amp;#39;s no reason to use code for this.&amp;nbsp; You&amp;#39;ll need to create a separate (non-displayed) field to hold the value for whether the control is enabled or not.&amp;nbsp; You can call it [ControlFieldsName]Enabled.&amp;nbsp; Add an action rule to the button to set that field to false, and then add conditional formatting to the control to disable it when that field has the value &lt;strong&gt;false&lt;/strong&gt;.</description></item><item><title>How to disable a control on a button click using Java script Code in office info path 2007</title><link>https://www.infopathdev.com:443/forums/thread/81621.aspx</link><pubDate>Tue, 14 Aug 2012 05:18:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81621</guid><dc:creator>karthikeyan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81621.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81621</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could any one please tell how to disable a control ( text box, radio button, drop down list box, etc...) on a button click using Java script Code in office info path 2007&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Karthikeyan&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>