3 Replies Latest reply on Feb 15, 2010 8:53 AM by try67

    SetFocus Problem

    noosemonsewicz

      I am trying to set the focus to another field if the current field is full...

       

      if ( event.fieldFull || event.willCommit )
      this.getField("ClaimIDDigit2").setFocus();
      

       

      I have this set under the custom keystroke... If I tell my code to alert me if the field is full, it only works if a tab out of the field into another...

       

      Any ides?