1. #1
    Sencha User Jad's Avatar
    Join Date
    Feb 2012
    Location
    annecy france
    Posts
    61
    Answers
    7
    Vote Rating
    1
    Jad is on a distinguished road

      0  

    Default Answered: how to add some text in a textfield.

    Answered: how to add some text in a textfield.


    Hello,

    how to add some text after the it's value in a textfield.

    Thanks for help

  2. I have found this extension http://www.sencha.com/forum/showthre...support-ExtJS4 and i adapt it.

  3. #2
    Sencha Premium Member
    Join Date
    Sep 2012
    Posts
    76
    Answers
    4
    Vote Rating
    8
    zz9pa is on a distinguished road

      0  

    Default


    Can you use getValue() and setValue() ?



    var tb=this.getForm().down("#someID"); // get the widget
    tb.setValue(tb.getValue()+" Hello World");

  4. #3
    Sencha User Jad's Avatar
    Join Date
    Feb 2012
    Location
    annecy france
    Posts
    61
    Answers
    7
    Vote Rating
    1
    Jad is on a distinguished road

      0  

    Default


    I have found this extension http://www.sencha.com/forum/showthre...support-ExtJS4 and i adapt it.

Thread Participants: 1