UIT-13: Fixed form validation on ajax form.