10 Replies Latest reply on Jan 6, 2015 2:26 PM by gkaiseril

    Spawning a new page depending on whether a text field is populated or not


      I am trying to create a form that once the last line is in the description field contains text it will automatically spawn a new page directly below the page being filled in. I am so googled out.


      if (getField("DOD20").value === "");




      var a = this.templates;

        for (i = 0; i < a.length; i++)

        a[i].spawn(this.numPages, false, false);