submit buttons - changing behaviour

Giganews Newsgroups
Subject: submit buttons - changing behaviour
Posted by:  Bartosz Wegrzyn (blwegrz…
Date: Mon, 08 Sep 2003

I do have a form with 4 submit buttons.
Also I do have a script that checks that for for errors.

Right now I have onsubmit() event for checki my form.
After it is checked it runs my php script.

My problem is that for one button I do not want to run that script.
I want to be able to run it without validation.

I tried to change the type of buttons for button instead of submit.
That I added that action to onclick event = document.formname.submit()

Problem is that when I do this the data is not posted to my php script and
even not to my validation script. WHY???

Can anyone help