6 Replies Latest reply on Dec 2, 2008 5:28 PM by (jameskrishnan)

    java script written for adobe form ver 7 is not working for form created in ver 8.2

      I have redesigned the form using Adobe LiveCycle Designer 8.2 and tried to do merging of xml values into the form. But not successful. Below is sample of the javascript

      trustedImportXFAData = app.trustedFunction (
      function (xmlfilenamename)
      {
      app.beginPriv();

      var re =".pdf";
      var filename = this.path;
      this.importXFAData(xmlfilenamename);
      this.saveAs(filename);
      this.closeDoc();
      app.endPriv();
      }
      )

      This code works find with form created in previous version but not in the new version. I believe it has something to do with the privilege but I do know where I should change.
      For you information, I don't get any error from javascript.
      Thank you

      }