Jmarc,
I think I did what you mention above, just a bit backhanded way of getting there. First, I set all error vars to "true" that way, each validation function has to explicitly make them true or leave them false:
Code:
var usernameerror=true;
var pworderror=true;
var emailerror=true;
var firstnameerror=true;
var lastnameerror=true;
By the way, I found out the hard way about variable declaration as it relates to scope in JavaScript. Weird thing is that if you declare a variable with the word 'var' inside a function, it is private. To make it global, drop the var. Strange how that works. Outside a function, variables are global. How 'bout that? Strange and bewildering.
Anyway, I'm still trying to wrap my head around your way. Give me a little more time with it... and thanks again!