Menu
Cutty
  • Chryslers
  • Lutherie
  • YLSNED
  • About
Cutty

‘SnippetElement’ is null or not an object error.

Posted on January 31, 2011February 19, 2015 by Iain 'Cutty' Carlin

I upgraded an InfoPath 2007 form to 2010. Users were getting a javascript error when submitting the form. The error was “’SnippetElement’ is null or not an object.”.

I did a few things to try and resolve the error. Recreated all my data connectors, re-published the form several times, all to no avail.

Finally, I ran the javascript debugger in IE and found that the error related to a problem with some code in core.js. There was a function that was trying to get the ‘SnippetElement’ from the submit button on the form.

I’m not sure what that means, but I checked the submit action for the form and found that “Show the Submit button in both the Ribbon and the Info tab in the InfoPath Filler.” option was checked on. I don’t recall seeing that in 2007 so it must be new for 2010. Turning the option off resolved the error.

  • InfoPath
  • Recent Posts

    • Books I read in 2025
    • 2024 was the best year for our solar system
    • Books I read in 2024
    • Books I read in 2023
    • Happy New Year 2024

    Categories

    • Chryslers (1)
    • Cutty's Blog (13)
    • Lutherie (38)
    • You Learn Something New Every Day (44)
    ©2026 Cutty | Powered by Superb Themes