Set a control as read-only

Microsoft Office InfoPath 2003

Show All Show All

Set a control as read-only

If you do not want users to change the contents of a control, you can make it read-only. For example, if the department code in an expense report form is the same for everyone who uses your form, you can use the department code as a default value and make the text box read-only.

Note  This option is available only for text box, rich text box, bulleted list, numbered list, and plain list controls.

  1. In design mode, right-click the control that you want to mark as read-only, and then click Control Properties on the shortcut menu.
  2. In the Control Properties dialog box, click the Display tab, and then select the Read-only check box.

    Note  Making a control read-only prevents users from typing in the control, but it does not affect the control's appearance in any way.

Notes

  • You can also use conditional formatting to make a control read-only unless a specific value is entered into another control. For example, a text box for a driver's license number can be read-only unless the user enters an appropriate age into another control on the form. To learn more about this option, see Hide or disable a control based on values in a form.
  • The information in this topic may not apply if you are working with a form designed using Microsoft Office InfoPath 2003 without the service pack installed. Learn more