lkasdorf
6 Sep 2007, 8:25 AM
Can somebody point me to an example of how to catch blur events from a text field in a form?
I assume that I am supposed to addListener to the form something like this:
regisForm = new Ext.form.Form({
. . .
});
regisForm.addListener('blur', function(){ alert('blur was fired'); });
Do I need to configure the text field that I care about somehow? The docs on the textfield lists the events that are fired, but I've seen where I am supposed to set up anything to cause that to happen.
If there was a simple example somewhere, I could figure it out.
Thanks!
Lynn Kasdorf
I assume that I am supposed to addListener to the form something like this:
regisForm = new Ext.form.Form({
. . .
});
regisForm.addListener('blur', function(){ alert('blur was fired'); });
Do I need to configure the text field that I care about somehow? The docs on the textfield lists the events that are fired, but I've seen where I am supposed to set up anything to cause that to happen.
If there was a simple example somewhere, I could figure it out.
Thanks!
Lynn Kasdorf