This isn't even vaguely correct:
Code:
if (a=1) (b=0) (c=0)
Where did you dream up that syntax??
First of all, you are only allowed one ( ) as the container for the condition of an if statement.
And then you are using =. In JavaScript (and in Java and C and C++ and C# and PHP and ...) the = operator is *ALWAYS* an assignment! Yes, even in an if statement.
To TEST a value, you must use ==.
So, I *THINK* what you are after is this:
Code:
if (a==1 && b==0 && c==0)
But there are so many other things wrong with that code, it's tough to know where to start.
A function must have a name and the name must have at least ( ) after it [optionally, parameter names can appear between the parentheses].
There is no such thing as
onsubmit for checkboxes.
This isn't vaguely right:
and I'm not even sure what you expected it to do.
You have nothing at all calling your (illegal) functions.
There is no such thing as a
then keyword in JavaScript (or in Java or C++ or ... ).