Results 1 to 3 of 3

Thread: how to add some text in a textfield.

  1. #1
    Sencha User Jad's Avatar
    Join Date
    Feb 2012
    Location
    annecy france
    Posts
    125
    Answers
    12
    Vote Rating
    3
      0  

    Default 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
    135
    Answers
    9
    Vote Rating
    11
      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
    125
    Answers
    12
    Vote Rating
    3
      0  

    Default

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

Posting Permissions

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