M
Martin Roelser
Hi,
I have a little Problem with Infopath & Jscript.
I use the following code to submit my form ... this works fine BUT i can't
use values from the active form.
The problem is : how to refer to a field of my form ?
-----------------------
var objStatus = XDocument.DOM.selectSingleNode("../../my:status").text;
var strUrl = "http://192.168.0.1/Production Request Syria/" + objStatus +
"/test.xml";
-----------------------
1. I don't know if ("../../my:status") is the right way to refer. I also
tried many other things but nothing didn't work.
2. Each time I try to take the value or text of the field: status I get an
error: Object expected.
I Hope you can help me and sorry for bad english
Martin
I have a little Problem with Infopath & Jscript.
I use the following code to submit my form ... this works fine BUT i can't
use values from the active form.
The problem is : how to refer to a field of my form ?
-----------------------
var objStatus = XDocument.DOM.selectSingleNode("../../my:status").text;
var strUrl = "http://192.168.0.1/Production Request Syria/" + objStatus +
"/test.xml";
-----------------------
1. I don't know if ("../../my:status") is the right way to refer. I also
tried many other things but nothing didn't work.
2. Each time I try to take the value or text of the field: status I get an
error: Object expected.
I Hope you can help me and sorry for bad english
Martin