31 Replies Latest reply on Mar 21, 2014 3:25 AM by brunoricardo

    Run custom calculation script when the pdf is generated

    brunoricardo Level 1

      Hi,

       

      The problem I have happens because the script below is not being runned when the PDF is generated through a web application.

       

      The script below assembles a static text I have in my form with a variable - "myentry".

       

      What is happening is that the variable field "myentry" is being filled when the pdf is generated, but then the script doesn´t assemble it with the rest of the text I have in the form.

       

      var aa = "Tomorrow we'll have a presentation at " ;

      var ab = " that will cover all the matters related to economics."

      this.getField("myText").value = aa + this.getField("myEntry").value + bb ;

       

       

      There is urgent problem that i need to solve ASAP, so any help will be precious!

       

      Thanks in advance!