3 Replies Latest reply on Nov 1, 2013 7:55 AM by gkaiseril

    get spawned template name as a string

    MadMich Level 1

      Anyone know if it is possible to get a spawned templates name?


      I need to check the validity of a field depending on which template is spawned? so my field might be named P1.template_1.fieldx


      So im thinking like this:


      Var r = this template name used // not sure if this bit is possible

      var j = this.pageNum;


      // so to show the field i would need something like this:

      this.getField("P"+j+.r.+"fieldx").display = display.visible


      var j = this.pageNum;



      Thanks in advance