Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / September 2005

Tip: Looking for answers? Try searching our database.

Buttons on Form need to be disabled

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tfischer - 16 Sep 2005 17:48 GMT
I have a formed using managed C# that creates a text message to send to
BizTalk Server and saves the form to file. The user clicks on it and
everything works... However, I need to disable the buttons on the .xml
form in the file so they do not inadvertantly resend the same message
again when they open the saved form.

Can anyone tell me how to get to the button to set the visible to false
or remove it from ther saved form altogether.

Thanks.
JR - 16 Sep 2005 18:09 GMT
Hi,

I ran into a similar situation which we resolved by using conditional formatting.

We created an additional field in our form's data source, but did not create a control for it on the form - preventing the user from filling it in manually.  On the click event of the button, we set this field's value (in this case, the current date and time) through code (a rule would also work).  We then set up conditional formatting on the button so that if this field contained a value, to disable the button.

> I have a formed using managed C# that creates a text message to send
> to BizTalk Server and saves the form to file. The user clicks on it
[quoted text clipped - 6 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.