S
scott.briscoe
I am using a standard HTML page and Javascript for my task pane. I am
able to retrieve values from my forms through the task pane in
InfoPath 2003. However, I am having difficulty getting it to work in
2007. I get the error "Reference to undeclared namespace prefix:
'my'."
Here is the code I am attempting to use:
// Get a reference to the XDocument object for the InfoPath Form.
XDocument = window.external.Window.XDocument;
var bb = XDocument.DOM.selectSingleNode("/my:myFields/
my:field1").value;
able to retrieve values from my forms through the task pane in
InfoPath 2003. However, I am having difficulty getting it to work in
2007. I get the error "Reference to undeclared namespace prefix:
'my'."
Here is the code I am attempting to use:
// Get a reference to the XDocument object for the InfoPath Form.
XDocument = window.external.Window.XDocument;
var bb = XDocument.DOM.selectSingleNode("/my:myFields/
my:field1").value;