1 Reply Latest reply on Aug 26, 2010 5:44 AM by Mo.Issah

    how to use j

    Mo.Issah

      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