In particular, what I am tring to do is essentially this:
return isValid(a) && isValid(b) && isValid(c);
while this technically does work, the function is responsible for highlighting invalid areas on the form for user attention. Since the
&& operator short circuits, it will only ever highlight the first invalid expression, possibly requiring the user to go through several rounds of correcting input data.