That more detailed reply makes much more sense

If i was doing something like this, i'd have a little dictionary going
on like

var Validations = {};
Validations.Name = false;
Validations.UserName = false;
Validations.Email= false;
Validations.SomeOtherField = false;

and figure out at what point (keypress or blur or i suppose some sort
of timer) to fire off the validation, and if you come back from the
ASync call valid, then set the property in the above object as "true"

And when submitting, only submit if all are set to true, otherwise
tell the user what's going on

Reply via email to