Auto Check

Hi,

Can I check event automatically when the user input “4 numbers” Exactly ?

I need this for verification code. I don’t like “Button” and user clicked in it after enter input .
I want this make automatically after 4 numbers input.

How ?

Thanks,

Yes of course you can. You would data-bind an Observable string to your text input Value, and have something like this in JS:

theString.onValueChanged(module, function(x) {
    if (x.length == 4) {
        // do something
    }
});