Help and Support
 

powered byLive Search

Error message when you open an InfoPath 2007 form and then click Submit: "'undefined' is null or not an object"

Article ID:926270
Last Review:November 3, 2006
Revision:1.1

SYMPTOMS

Consider the following scenario:
You create a form in Microsoft Office InfoPath 2007. This form contains a Submit button.
In the Submit Options dialog box, you enable the Show success and failure messages option.
In the Rules for Submitting Forms dialog box, you include a Switch views action.
When you open this form in the browser and then click Submit, nothing happens. Additionally, you receive the following error message:
'undefined' is null or not an object
Note To see this error message, click to select the Display a notification about every script error check box in the Internet Options dialog box in Windows Internet Explorer. To do this, start Internet Explorer, click Internet Options on the Tools menu, and then click the Advanced tab.

Back to the top

CAUSE

This problem occurs because a dialog box is waiting for a user action. However, InfoPath is trying to switch views.

Back to the top

WORKAROUND

To work around this issue, follow these steps:
1.Start InfoPath 2007, and then open the InfoPath form in design mode.
2.Double-click Submit.
3.On the General tab, click Submit Options, and then click Advanced.
4.Click to clear the Show success and failure messages check box, and then click OK two times.
5.Save the InfoPath form.
6.Republish the form template to InfoPath Forms Server 2007.

Back to the top


APPLIES TO
Microsoft Office InfoPath 2007
Microsoft Office Forms Server 2007

Back to the top

Keywords: 
kbtshoot kbexpertiseinter kbprb KB926270

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.