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 / February 2007

Tip: Looking for answers? Try searching our database.

protecting parts of an Infopath form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
johnpinter - 21 Dec 2006 03:43 GMT
I am currently re-designing all our forms in Infopath and was wondering if
there was a way to protect parts of a form from modification once filled in
and submitted.  I have created some buttons on an Application for Leave form.
One submits the form by email to the Manager of the person filling the form
out.  Another submits the form via email to the Admin department once the
Manager has approved it.  I need to be able to protect the parts that should
not change once the form has been submitted.

Thank you in advance.
Greg Collins [InfoPath MVP] - 21 Dec 2006 14:25 GMT
You can add conditional formatting to the particular fields in question that makes them readonly once the manager has approved it.

Signature

Greg Collins [Microsoft MVP]
Visit Braintrove ( http://www.braintrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )

johnpinter - 08 Jan 2007 03:16 GMT
I understand how you place the conditional formatting but how do you test
whether a button has been pressed?  What condition do you test for?

> You can add conditional formatting to the particular fields in question that makes them readonly once the manager has approved it.
Greg Collins [InfoPath MVP] - 19 Feb 2007 17:09 GMT
You add a rule to the button which sets a field value (it can be in a secondary data source), and then have the conditional formatting test the value of that field.

i.e. field: my:IsClicked = false
Click button -> set IsClicked = true
Conditional formatting: if (IsClicked = true) disable button.

Signature

Greg Collins [Microsoft MVP]
Visit Braintrove ( http://www.braintrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )

 
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.