1 Reply Latest reply on Apr 27, 2007 5:27 AM by Greg Dove

    onChanged function - Simplify?

    Designforce
      Is there a way to simplify this:

      r1_8.onChanged = function() {
      this.text = this.text.toLowerCase();
      _hint7._visible = false;
      Selection.setFocus(r1_9);
      };
      r1_9.onChanged = function() {
      this.text = this.text.toLowerCase();
      _hint8._visible = false;
      Selection.setFocus(r1_10);
      };
      r1_10.onChanged = function() {
      this.text = this.text.toLowerCase();
      _hint9._visible = false;
      a1a();
      Selection.setFocus(parking);
      };
      This is used in a word game and I am hoping that there is a way to simplify this rather than having to do this for each individual input textfield as I am having to do now.

      Any assistance will be appreciated.