1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    1
    Vote Rating
    0
    Rashmi1839 is on a distinguished road

      0  

    Default Capture change listener from Textfield

    Capture change listener from Textfield


    Hi,
    Is it possible to add listener to textfield?

    If we give some value to textfield then it must change the value to uppercase.

    Thanks in advance,
    Rashmi.

  2. #2
    Sencha User existdissolve's Avatar
    Join Date
    Jan 2010
    Location
    Kansas
    Posts
    522
    Vote Rating
    86
    existdissolve is just really nice existdissolve is just really nice existdissolve is just really nice existdissolve is just really nice existdissolve is just really nice

      0  

    Default


    I'd suggest taking a look at the "change" event on Ext.form.field.Field. You can add a listener to any number of fields and manipulate the data on change however you see fit.

    Here's an example: http://jsfiddle.net/existdissolve/PDQzy/

Thread Participants: 1