E
Euclid
I'm brand new to jscript, InfoPath and xml so bear with me. I was asked to
write some code modelled after code that works in another InfoPath
application. I'm getting an error when I preview the form that says:
'XDocument.DataObjects.questionMappings.DOM' is null or not an object
File:script.js
Line:13
questionMappings.xml is a secondary source which seems to be OK since it
opens properly in IE.
The actual line of code that errors out is:
var scoreData = XDocument.DataObjects["questionMappings"].DOM;
The same line seems to work just fine in the application I copied it from.
Does anyone have any idea what's going on?
write some code modelled after code that works in another InfoPath
application. I'm getting an error when I preview the form that says:
'XDocument.DataObjects.questionMappings.DOM' is null or not an object
File:script.js
Line:13
questionMappings.xml is a secondary source which seems to be OK since it
opens properly in IE.
The actual line of code that errors out is:
var scoreData = XDocument.DataObjects["questionMappings"].DOM;
The same line seems to work just fine in the application I copied it from.
Does anyone have any idea what's going on?