I am new to InfoPath scripting. Unfortunately, for the project I am working
on, I set VBScript as my default, so I can't change to JScript.
My application requires me to provide a button that when clicked, traverses
the the published form's newly filled out data (XML tree or DOM ... I am not
sure I know the correct term), reading the node names, types, and values.
This includes traversing optional and repeating nodes.
Can anyone point me to an example of how to do this using VBScript?
Thank you ahead of time
tcarnahan - 15 Nov 2006 19:40 GMT
I forgot to add that I am using InfoPath 2003.
> I am new to InfoPath scripting. Unfortunately, for the project I am working
> on, I set VBScript as my default, so I can't change to JScript.
[quoted text clipped - 7 lines]
>
> Thank you ahead of time
GazM - 16 Nov 2006 14:32 GMT
>I forgot to add that I am using InfoPath 2003.
>
[quoted text clipped - 3 lines]
>>
>> Thank you ahead of time
Hi
I don't have a clue what you are talking about but I do know that you can
change the scripting language in Infopath.
Follow this link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/h
tml/ODC_INFDigitallySigningData1.asp
Cheers
Gary
GazM - 16 Nov 2006 14:35 GMT
Oops
Wrong link
Here is the correct link
http://support.microsoft.com/default.aspx?kbid=828853
Gary
>>I forgot to add that I am using InfoPath 2003.
>>
[quoted text clipped - 11 lines]
>
>Gary
tcarnahan - 16 Nov 2006 16:56 GMT
I am not trying to change the scripting language. I am trying to work within
the VBScript environment.
My terminalogy may not have been correct. I want to put a button on my form
(I know how to do that) with VBScript code behind it that, after the user
fills out the form, when he clicks on the button, it:
- Finds the root element of the XDocument
- Recursively works its way down the tree visiting every child node
- At each node, it reads the name of the element, the data type, and the
value the user just typed into it.
My desire is to have a universal procedure that I can pull into any InfoPath
template, and regardless of its schema, be able to perform this action. I
have other plans for what to do with the data this procedure returns that are
not germane to this discussion.
Thanks ...
> Oops
>
[quoted text clipped - 20 lines]
> >
> >Gary