Re: Preventing the "lost focus" event to happen
Posted By:
Finlay_McWalter
Posted On:
Tuesday, June 12, 2001 05:45 PM
If you want to force focus to remain on a given control (which IMHO is really dreadful UI design) then you can catch the focusLost event and immediately call requestFocus() back on that control.
Re: Preventing the "lost focus" event to happen
Posted By:
AlessandroA_Garbagnati
Posted On:
Wednesday, May 16, 2001 10:52 AM
Diego,
This it's probably stupid (my expertise is on the server side), but can't you just trap the "lost focus" event and then if the validation fails, send the focus back to the field?
Ciao!