javasript problem - submiting

Giganews Newsgroups
Subject: javasript problem - submiting
Posted by:  Bartosz Wegrzyn (blwegrz…
Date: Mon, 08 Sep 2003

Please look at my code.
I do validation of my form before I submit it.

I want to be able to to press one form button without running validating
I just want to go directly to my php script.

I tried to do this
onclick="document.form1.submit()" but than the button value is not posted
and my php script is not working.

Also I tried to remove the onSubmit handler on my form and than I add this
to all my 3 buttons that will run with validation.

<input type="button" name="select" value="save" on click="return
check(this);document.form1.submit()"It is not working I get error that Java
does not support that object or method.Also the value save is not
submitted.Is there any way to fix this