When validating form field entries using AJAX as described in the article Realtime Form Validation Using AJAX there are additional issues that come to mind. These include:
Do I have to validate a single form field? Not necessarily. The article was written to show the simplest use case. You could also do validation based on any combination of form data. You should not consider this solution...