:: Forum >>

input upperCase


I need to set the ControlText from a Input Control to UpperCase (basically, everything that the user types must be set to a upper case....).

Ideas anyone?

zeh florianopolis-sc/brazil -:)
Monday, October 30, 2006
help me please!!
Tuesday, October 31, 2006
You can change the text on the fly using onControlTextChanged event, just be careful not to go into endless recursion.

/* fix Firefox oninput event bug */
.aw-gecko .aw-edit-control .aw-item-box {
    overflow: hidden;


    var obj = new AW.UI.Input;

    obj.onControlTextChanged = function(text){
        var upper = text.toUpperCase();
        if (text != upper){



There is an AW 2.0.1 bug in FF 1.5+ where onControlTextChanging(ed) event does not fire sometimes. This can be fixed with the following CSS -

.aw-gecko .aw-edit-control .aw-item-box {
overflow: hidden;

Alex (ActiveWidgets)
Tuesday, October 31, 2006
Can this application possible to implement in verion1
Monday, May 7, 2007

This topic is archived.

Back to support forum

Forum search