<?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 buttons with vbscript</title><link>https://www.infopathdev.com:443/forums/thread/10234.aspx</link><pubDate>Mon, 14 Aug 2006 20:59:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10234</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10234.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10234</wfw:commentRss><description>I had the initial impression when I started to work with the tool.  The reason why is that all of the events in InfoPath that are raised seem to be raised from the xml document and not directly from the controls that are on the form.  This makes a lot of sense but at times I have to reverse they way I think of things &amp;lt;g&amp;gt;</description></item><item><title>Re: Disable buttons with vbscript</title><link>https://www.infopathdev.com:443/forums/thread/10233.aspx</link><pubDate>Sun, 13 Aug 2006 23:24:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10233</guid><dc:creator>Carlos</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10233</wfw:commentRss><description>Thanks for your reply, and I have seen that post and tried it with success. However, I still would like to be able to do the entire lot in VBScript, somthing like the VB code button1.enabled = false etc etc.&lt;br /&gt;&lt;br /&gt;Cheers,</description></item><item><title>Re: Disable buttons with vbscript</title><link>https://www.infopathdev.com:443/forums/thread/10232.aspx</link><pubDate>Thu, 10 Aug 2006 08:04:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10232</guid><dc:creator>Suresh Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10232.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10232</wfw:commentRss><description>Hi, &lt;br /&gt;&lt;br /&gt;Try out this link.&lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2726&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2726&lt;/a&gt;&lt;br /&gt;Hope this will help you.&lt;br /&gt;&lt;br /&gt;Thank you.</description></item><item><title>Disable buttons with vbscript</title><link>https://www.infopathdev.com:443/forums/thread/5767.aspx</link><pubDate>Thu, 10 Aug 2006 01:59:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5767</guid><dc:creator>Carlos</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5767.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5767</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;Now before anyone says this, I know that buttons can be dissabled by InfoPath GUI, but the problem is:&lt;br /&gt;&lt;br /&gt;I have 15 buttons (menus actually) which opens views when clicked on them (15 menu buttons for 15 views).  Now I need to dissable certain buttons depending on a value in the form, so if value = 1 buttons 2, 5, 7 and 11 are dissabled (for example).  Now I can do this, but when you look at how much time/effort is required to do every button for every view (15x15) FORGET IT!  Why work harder when you can work smarter and script this task.  So, my question is, how in VBSCRIPT can one disable a button? For example:&lt;br /&gt;&lt;br /&gt;If value.text = 1 Then&lt;br /&gt; Button1 is disabled and Button2 is disabled and Button5 is .... etc etc&lt;br /&gt;&lt;br /&gt;Any help here on the code would be gratefully received ;)</description></item></channel></rss>