Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    [Internet Explorer] - PasswordItem text input problem

    Hi,
    I am having issues with PasswordItem field within a form. Upon validation, it starts accepting inputs from right to left. Meaning it becomes like a stack in which first character entered is pushed to right as you type in another character and so on.
    Same code works fine in other browsers such as Mozilla, Chrome.
    Code:
    DynamicForm passwordForm = new DynamicForm();  
            passwordForm.setID("passwordForm");  
            passwordForm.setIsGroup(true);
            passwordForm.setGroupTitle("Password");
            passwordForm.setNumCols(2);
            passwordForm.setColWidths(220, 400);
            passwordForm.setHeight(200);
            passwordForm.setWidth(500);
            passwordForm.setAlign(Alignment.LEFT);
            passwordForm.setErrorOrientation(FormErrorOrientation.RIGHT);
            passwordForm.setValidateOnExit(true);
            
            StaticTextItem passwordHelpText = new StaticTextItem();
            passwordHelpText.setName("passwordHelpTextForProfile");
            passwordHelpText.setShowTitle(false);
            passwordHelpText.setColSpan(2);
            passwordHelpText.setCellStyle("passwordHelpCell");
            passwordHelpText.setValue(clientMessages.passwordHelpTextFormatted());
            
              
            
            PasswordItem password = new PasswordItem();
            password.setName("password");
            password.setTitle("New Password");
            password.setValidators(regExpValidator);
            password.setValidateOnExit(true);
            
            MatchesFieldValidator matchesValidator = new MatchesFieldValidator();  
            matchesValidator.setOtherField("password");  
            matchesValidator.setErrorMessage("Passwords do not match");
            
            PasswordItem confirmPassword = new PasswordItem();
            confirmPassword.setName("confirmPassword");
            confirmPassword.setTitle("Confirm");
            confirmPassword.setValidators(matchesValidator);
            confirmPassword.setValidateOnExit(true);
    SmartClient Version: SC_SNAPSHOT-2012-02-15_v8.2p/LGPL Development Only (built 2012-02-15)

    Browser: IE 9.0.8x

    Any help would be greatly appreciated.
    Thanks

    #2
    This sounds like a bug that briefly existed a long time ago - try a more recent build (yours is 8 months old).

    Comment


      #3
      Issue closed

      Thanks for the prompt reply - that certainly did solve the issue!

      Comment

      Working...
      X