4 Replies Latest reply on Jul 10, 2011 4:00 PM by Sean McGilbert

    Assigning multiple getFields to a singe variable

    Sean McGilbert

      Hello all,


      I am wondering if I can assign multiple this.getFields to a single variable. For example:


      var thisisavariable = (this.getField("textbox_1") && this.getField("textbox_2"));


      Then later I can say


      thisisavariable.display = display.hidden;


      Is this possible? Thank you.