<?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: Disable one or more controls when form is opened</title><link>https://www.infopathdev.com:443/forums/thread/11410.aspx</link><pubDate>Tue, 03 Apr 2007 09:06:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11410</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11410.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11410</wfw:commentRss><description>You have to use conditional formating for each control you want to disable or hide (or set textboxes to read only mode, but this isn't easily changeable afterwards any more.) So I would suggest that you really use conditional formatting for your controls or sections.&lt;br /&gt;&lt;br /&gt;One way you could do this is that in your onload event you set a value to a dummy node (with code, e.g. XDocuemnt.DOM.selectSingleNode(my:myFields/my:dummy).text = 1; ) then set a condition to all of your contorls which hides / disables them when dummy is equal to one.&lt;br /&gt;&lt;br /&gt;Hope this helps.</description></item><item><title>Re: Disable one or more controls when form is opened</title><link>https://www.infopathdev.com:443/forums/thread/11409.aspx</link><pubDate>Tue, 03 Apr 2007 09:05:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11409</guid><dc:creator>B.Shiva Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11409.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11409</wfw:commentRss><description>hi markperry,&lt;br /&gt;&lt;br /&gt;yes it is possible, by applying the conditional format on the controls what ever you want to be disable based on some condition of another field.</description></item><item><title>Disable one or more controls when form is opened</title><link>https://www.infopathdev.com:443/forums/thread/6167.aspx</link><pubDate>Tue, 03 Apr 2007 08:55:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6167</guid><dc:creator>markperry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6167.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6167</wfw:commentRss><description>Is there a way to disable one or more controls on an InfoPath 2003 form when the form is opened? I've seen the 'Open and Save' option in the Form Options list but there doesn't appear to be a way to disable a button in this list.</description></item></channel></rss>