This isn't even vaguely correct:
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.
To TEST a value, you must use ==.
So, I *THINK* what you are after is this:
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
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