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.
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
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);
Browser: IE 9.0.8x
Any help would be greatly appreciated.
Thanks
Comment