<?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: Possible to Conditionally Disable Checkbox Based on Current View - without Custom Code?</title><link>https://www.infopathdev.com:443/forums/thread/75875.aspx</link><pubDate>Wed, 29 Feb 2012 18:21:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75875</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75875.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=75875</wfw:commentRss><description>&lt;p&gt;Formatting rules should be view-dependent. In other words, adding a formatting rule to one view should not affect it on another view. &lt;/p&gt;&lt;p&gt;Another idea would be to add the controls to a section and set a formatting rule on that.&lt;/p&gt;</description></item><item><title>Possible to Conditionally Disable Checkbox Based on Current View - without Custom Code?</title><link>https://www.infopathdev.com:443/forums/thread/75825.aspx</link><pubDate>Wed, 29 Feb 2012 01:11:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75825</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75825.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=75825</wfw:commentRss><description>&lt;p&gt;Hi InfoPathers:&lt;/p&gt;
&lt;p&gt;I have 2 views in my InfoPath 2010 filler form, one called Configuration and one called Test Plan.&amp;nbsp; The idea is that a developer fills in the configuration information for a team setup, that causes certain tests to appear on the test plan page, and a tester goes off and runs those tests.&lt;/p&gt;
&lt;p&gt;In order to keep the tester from having to flip back and forth between the two views, I&amp;#39;ve put some repeating tables on the Test Plan view that are bound to the controls entered by the developer on the Configuration view, usually in a repeating table.&amp;nbsp; The idea here is&amp;nbsp;to give the&amp;nbsp;tester&amp;nbsp;the ability to&amp;nbsp;view the configuration information, but&amp;nbsp;not make changes to it.&lt;/p&gt;
&lt;p&gt;The vast majority of the controls on the Configuration view are comboboxes, and when I create the corresponding controls on the Test Plan page, I make those textboxes, which I can then set to read-only.&amp;nbsp; However, I have one set of three checkboxes I need to bring over from the Configuration view, and I&amp;#39;m struggling with how to make these read-only.&amp;nbsp; I can set up a formatting rule that evaluates to true every time and then disable the checkbox, but then the checkbox is also disabled on the Configuration view.&amp;nbsp; Not good!&lt;/p&gt;
&lt;p&gt;Does anyone&amp;nbsp;know is there&amp;#39;s a&amp;nbsp;way I can get the name of the current view without having to resort to custom coding?&amp;nbsp; I do see there are some custom coding options using the CurrentView property, I&amp;#39;d just prefer not to have to deal with custom code if at all possible.&amp;nbsp; Alternately, what about an option that would let me use a different control that I can set to read-only? I did come up with an option that let me use textboxes in lieu of option buttons in&amp;nbsp;a different section of the Test Plan view, and that let me use the read-only property of the textbox.&amp;nbsp; Because I need the possibility of multiple selections, checkboxes or a multi-select list box seem like the best options, but I don&amp;#39;t see a way to make either of those read-only aside from using the current view.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help greatly appreciated!&lt;/p&gt;
&lt;p&gt;nkstrou&lt;/p&gt;</description></item></channel></rss>