<?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: When clicking, how do I disable/read only other controls</title><link>https://www.infopathdev.com:443/forums/thread/38385.aspx</link><pubDate>Fri, 13 Feb 2009 01:13:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38385</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38385.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=38385</wfw:commentRss><description>&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;In the data source taskpane, add a new field anywhere in the data source and call it &lt;em&gt;submitted&lt;/em&gt;.&amp;nbsp; Specify its data type as True/False (boolean) and leave the default value as &lt;em&gt;false.&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Right click the button you want to use and open its properties.&amp;nbsp; Click the &lt;em&gt;Rules...&lt;/em&gt; button.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click &lt;em&gt;Add...&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click &lt;em&gt;Add Action...&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Select &lt;em&gt;Set a field&amp;#39;s value&lt;/em&gt; from the dropdown menu.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click the button next to the &lt;em&gt;Field&lt;/em&gt; field, and select your new &lt;em&gt;submitted&lt;/em&gt; field.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click the &lt;em&gt;fx&lt;/em&gt; button.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click &lt;em&gt;Insert function&lt;/em&gt; and from the &lt;em&gt;All&lt;/em&gt; category, select&amp;nbsp;&lt;em&gt;true.&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click OK on all the open dialog boxes.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Right-click the contact selector and choose &lt;em&gt;Conditional formatting&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Click &lt;em&gt;Add...&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;From the first dropdown, choose &lt;em&gt;Select a field or group&lt;/em&gt; and select the &lt;em&gt;submitted&lt;/em&gt; field.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;From the third dropdown, choose TRUE.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Check &lt;em&gt;Disable this control&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;You can use steps 10-14 on any other control to disable it when the button is clicked.&lt;/p&gt;</description></item><item><title>Re: When clicking, how do I disable/read only other controls</title><link>https://www.infopathdev.com:443/forums/thread/38376.aspx</link><pubDate>Thu, 12 Feb 2009 20:21:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38376</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38376.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=38376</wfw:commentRss><description>&lt;p&gt;Thanks for the advice, is it ok if you can give me a little more information&lt;/p&gt;</description></item><item><title>Re: When clicking, how do I disable/read only other controls</title><link>https://www.infopathdev.com:443/forums/thread/38297.aspx</link><pubDate>Wed, 11 Feb 2009 05:35:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38297</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38297.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=38297</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can disable the controls using conditional formatting. Add a Boolean field to the data source with default value False. Add a rule to the button as to set this Boolean field to true. Add the conditional formatting for the fields depending on this Boolean field. For contact selector control also you can add conditional formatting.&lt;/p&gt;</description></item><item><title>When clicking, how do I disable/read only other controls</title><link>https://www.infopathdev.com:443/forums/thread/38288.aspx</link><pubDate>Tue, 10 Feb 2009 20:41:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38288</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=38288</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve added a button to my form and want to disable other control when it is click and don&amp;#39;t want to be able to submit the form until it&amp;#39;s clicked. Also, do anyone knows how to disable the contact selector based on the button click as well. It&amp;#39;s a hard control to disable. The only way I found to do this is through code. I want to stay away from code if I can.&lt;/p&gt;</description></item></channel></rss>