Disable all fields on load if condition met? - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » Disable all fields on load if condition met? Disable all fields on load if condition met? Last post 04-27-2012 11:28 AM by monocle612. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-27-2012 07:54 AM monocle612 Joined on 04-27-2012 Posts 7 Disable all fields on load if condition met? Reply Contact What I would like to do is to disable all fields (put them into "read-only" mode) if a field's value is "Submitted". Is this possible? What might the solution look like? Thanks! 04-27-2012 08:40 AM In reply to Patrick Halstead Joined on 08-07-2006 Posts 5,112 Re: Disable all fields on load if condition met? Mark as Not AnswerMark as Answer... Reply Contact In InfoPath2010, you can add a conditional formatting rule that changes a section to disabled, which means read-only. You can then copy this rule to other sections... easy to do. Patrick HalsteadProject Manager at Qdabra 04-27-2012 09:02 AM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: Disable all fields on load if condition met? Mark as Not AnswerMark as Answer... Reply Contact You could also copy your view into another view - and mark the view read only - then switch to that view if the field = submitted in a form load rule. Hilary Stoupa 04-27-2012 11:28 AM In reply to monocle612 Joined on 04-27-2012 Posts 7 Re: Disable all fields on load if condition met? Mark as Not AnswerMark as Answer... Reply Contact Thank you! Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
What I would like to do is to disable all fields (put them into "read-only" mode) if a field's value is "Submitted". Is this possible? What might the solution look like? Thanks!
In InfoPath2010, you can add a conditional formatting rule that changes a section to disabled, which means read-only. You can then copy this rule to other sections... easy to do.
You could also copy your view into another view - and mark the view read only - then switch to that view if the field = submitted in a form load rule.