Server side field validation can make the filling process of the form faster. It will show the incorrect form values on the fly. Remote validation must be done only in case when it is impossible to produce it on client side.

In this sample, I have implemented the validation directly in the form field to avoid the overloading the form controller (Low of Demeter).

I have extended the ‘Ext.form.field.Text’ but you can reimplement it in form for mixture or plugin. The sample just checks on the server if the entered word is anagram¬†of the word “Anagram”. Validation is triggered on ‘change’ and ‘blur’ buffered (500ms) events (configurable).