Results 1 to 2 of 2

Thread: Capture change listener from Textfield

  1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default 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
    88
      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/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •