that's an approach, yes. but also on submit you should ensure validations
match actual values. So maybe store also last value validated, and there a
cron could be implemented pretty easily.

On Fri, Mar 28, 2008 at 11:22 AM, MorningZ <[EMAIL PROTECTED]> wrote:

>
> 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
>



-- 
Brian J. Cardiff
bcardiff(?)gmail.com
.

Reply via email to