I am having problems with a possible max amount of functions you can test inside an if statement inside another function.
I’m building a validation form and i just want to test multiple functions(each function checks each field)
Like this:
function theres_probably_a_better_way_to_do_this() {
if ( (function1()==true) && (function2()==true) &&
(function3()==true) && (function4()==true) &&
(function5()==true) && (function6()==true) &&
function_well_u_get_the_point()==true) )
return true;
it turns out, the first 6 functions tested here work, but beyond that, it’s as if javascript poops out to check if it has a return
..i wouldn’t blame it, there’s gotta be a better way to do this…