There are 2 ways you can make a field read-only in InfoPath:
- Select the Read-only property on the Display tab of the Properties dialog box of a control.
- Use Conditional Formatting to either make a control Read-only or to Disable a control if a control cannot be made read-only.
However, if you have many controls on your InfoPath form template, setting the read-only property or applying conditional formatting to each control can quickly make your InfoPath form template difficult to maintain. On such occasions it is best to create what’s called a read-only view.
In InfoPath you can create a View and then set the entire view to be read-only. This will make all of the controls you place on that view read-only. This way you won’t have to maintain the read-only property or conditional formatting on individual controls.
One disadvantage of using a read-only view is that you’ll be unable to place read-only and non-read-only InfoPath controls on the same view.
In summary:
- If you have less than 10 controls that have to be read-only on your InfoPath form, you can use the read-only property or conditional formatting on those controls.
- If you have many controls on your InfoPath form template that have to be read-only, try constructing your InfoPath form template in such a way that you can create a read-only view and place the controls that need to be read-only on that view. And if you require a mixture of read-only and non-read-only controls in your InfoPath form solution, you may consider creating a read-only view for the read-only controls and use a button with a rule to switch between the read-only view and other views in your InfoPath form solution.
- If you require read-only and non-read-only controls on the same view, your only option will be to use the read-only property or conditional formatting on controls.
For instructions on how to create a read-only view, see the following Office Online article: Design a read-only view.

Comments to this post were closed 30 days after it was published.