4 Replies Latest reply on Aug 6, 2015 9:45 AM by gkaiseril

    How to spawn a template page at top of document

    zs1994

      I have a one page form and have a second page spawn on button click. Is there a way to have the spawned template appear on the click? The order of pages doesn't really matter.

       

      This is all the code I currently use, trying to keep it simple:

      var a = this.getTemplate ("template");

      a.spawn();

       

      Thanks in advance