Accessing Infopath Form Data

H

H-R

I want to show the typed value of a field in Infopath form in VBScript
written for a button. I took the following error message with sample codes:
"Object Required"
 
H

H-R

I use MS Office Infopath 2003, and wrote the following script:

var NameField = XDocument.DOM.selectSingleNode("//my:Datafields");
if ( NameField.text == " ") /* Error Object Required
...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top