What I managed to do seems to work, basically. I do not like this, but at least it checks against a remote source.
What I did was use the keyUp event handler to unscrew the database search part. Meanwhile, I created a string variable to act as some kind of flag that will be marked as "processing". When the response event fires, I will examine its contents and either clear the flag or set it to some other error.
Then I created a new "EmptyStringValidator", check the contents of this flag and do its work accordingly.
His indirect, but, apparently, work.
source
share