Bergi  wrote:

>The illegal character logic could be implemented in JS. Or at least a
>part of it, and an ajax request only onchange. For example don't forget
>to send no request for an empty input form.

Yes, no Ajax calls are made for blank input, I would see into implementing
the Illegal name logic at client side.


>You may use the combination of onkeyup with a timeout of about 200ms.
>that will reduce lots of ajax calls, it's no live search but a validation.

Thats really a nice idea. I would do that.

>Watch for the events "paste", "change", "input", "mouseup" and "keyup",
>that should get all.

Would have a look into those events as well.

Does anyone have any more ideas on this topic?

Thanks
Akshay Agarwal
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to