PDA

View Full Version : Doubt textField



chuvinha
30 Dec 2010, 4:09 AM
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".




var fieldComplemento = new Ext.form.TextField( {
id: 'campoComplemento',
fieldLabel : 'Complemento',
name : 'complemento',
disabled : true,
allowBlank : true,
width: 278,
anchor : '100%'
});


Could someone help me?

Condor
30 Dec 2010, 4:17 AM
Are you looking for:

emptyText: 'Example: 5-15'

chuvinha
30 Dec 2010, 4:27 AM
EmptyText is a option, Condor.
But I need to put a label down from field.
Is there some option this type?

Condor
30 Dec 2010, 4:35 AM
There is a FieldTip plugin in the User Extensions forum that you can use for that.