Results 1 to 4 of 4

Thread: Doubt textField

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    121

    Default Doubt textField

    Hi guys, I have one textField where the user has to type a value this "5-15".
    So I would like to put down from field the model "Example: 5-15".

    HTML Code:
    [LEFT]var fieldComplemento = new Ext.form.TextField( {
    id: 'campoComplemento',
    fieldLabel : 'Complemento',
    name : 'complemento',
    disabled : true,
    allowBlank : true,
    width: 278, 
    anchor : '100%'[/LEFT]
    });
    Could someone help me?

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    Are you looking for:
    Code:
    emptyText: 'Example: 5-15'

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    121

    Default

    EmptyText is a option, Condor.
    But I need to put a label down from field.
    Is there some option this type?

  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    There is a FieldTip plugin in the User Extensions forum that you can use for that.

Similar Threads

  1. Doubt in onreadystatechange
    By frank_ash in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 4 Aug 2009, 3:00 AM

Posting Permissions

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