Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you submit an InfoPath 2007 form: "Exception Message: Reference to undeclared entity 'nbsp'"


View products that this article applies to.

Symptoms

Consider the following scenario:
  • In Microsoft Office InfoPath 2007, you create a browser-enabled form template that is set to submit data by using e-mail.
  • You add a multiline text box to the form template and then publish the form template to the form server.

    Note To set a text box as a multiline text box, see the "More information" section.
  • You open the form in a browser and then type text in the multiline text box.
  • The text that you type includes spaces.
In this scenario, you receive the following error message when you click Submit:
Exception Message: Reference to undeclared entity 'nbsp'

↑ Back to the top


Workaround

To work around this problem, use a rich text box instead of a multiline text box.

↑ Back to the top


More information

To set a text box as a multiline text box, follow these steps:
  1. Right-click the text box.
  2. Click Text Box Properties, and then click the Display tab.
  3. Click to select the Multi-line check box, and then click OK.

↑ Back to the top


Keywords: KB931426, kbprb, kbexpertiseinter, kbtshoot

↑ Back to the top

Article Info
Article ID : 931426
Revision : 3
Created on : 2/13/2007
Published on : 2/13/2007
Exists online : False
Views : 310