Jul 08, 2010, 7:36 PM
[CLOSED] [1.0] Multiline textfield and the note property - dynamic update of note
What do I need to do to get the note property of the ml textfield to update with each keystroke. I would like to use it as a max length counter that shows the max num of characters allowed along with the number of characters remaining (i.e. [20/140]).
Here is a snippet from the javascript keystroke method I have now (txtBig = multiline textfield):
Also, is there a way to move the note box from the bottom-left to the bottom-right?
Here is a snippet from the javascript keystroke method I have now (txtBig = multiline textfield):
var el1 = Ext.getCmp('txtBig');
el1.note = "new note";
alert(el1.note);
The above code creates an alert box showing the new note value, but the note box on the cotrol is not updated. This seems like one of those "doLayout()" situations. What am I leaving out?:confused:Also, is there a way to move the note box from the bottom-left to the bottom-right?
Last edited by geoffrey.mcgill; Jul 09, 2010 at 4:22 AM.