I am trying to achieve impossible here
.I want to use a button with javascript to populate 2 deferrent t
ext or text fields.
this is my code
form1.#subform[0].PrintButton1::click - (JavaScript, client)
var Item = app.response("Enter the Item")
var myXML = xfa.resolveNode("Table1.Row1.Text1").value.exData.saveXML();
var myXML = xfa.resolveNode("Table7[0].Row2.Text23").value.exData.saveXML();
var myRegExp = /, failed/g;
myXML = myXML.replace(myRegExp, (Name + ", failed"));
xfa.resolveNode("Table1.Row1.Text1").value.exData.loadXML(myXML, true, true);
xfa.resolveNode("Table7[0].Row2.Text23").value.exData.loadXML(myXML, true, true);
I am getting no output. Can someone tell me what I am doing wrong.
Thanks