Form field validation triggers
I have a typical form with a couple of fields (eg field1, field2, field3, field4), two of which (field1, field2) have custom validation (vtype) defined. Inside the validation function, I perform an ajax call that validates the data on server.
My problem is that the validation (on field1, field2) is called too many times. It's called whenever focus changes on any of those fields, it's even called when other fields change, and it seems to be not consistent (sometimes when field3 or field4 value changes, field1 and field2 validation is called).
Is this intended behavior?