How to make a button disable? - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

How to make a button disable?

Last post 07-26-2006 06:30 AM by shekar. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-28-2006 05:22 AM

    How to make a button disable?

    I have a button click that click on it operate the OnClick event. How can I make in this event (by VBscript code) to make the button disable??
  • 06-28-2006 06:01 AM In reply to

    Re: How to make a button disable?

    Hello

    You can Disable this button by setting a value to a field on Click and also using Rules/Conditional Formatting.
    Kalyan G Reddy
    Infopath MVP 2007 and 2008
  • 07-26-2006 06:30 AM In reply to

    • shekar
    • Not Ranked
      Male
    • Joined on 07-26-2006
    • India
    • Posts 22

    Re: How to make a button disable?

    Create a new fieldAttribute(named buttonStatus) which stores the boolean as True and False(default False) and set conditional formatting for the button as follows
    "buttonStatus is equal to TRUE" enable the checkbox "Disable this Control" and click ok and write code to set the value of this attribute to True
    button gets disabled
    Shekar
    http://www.ggktech.com
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.