Client-validation but not on all buttons?

From: Date: Tue, 16 Dec 2003 14:53:56 +0000
Subject: Client-validation but not on all buttons?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9581@lists.php.net to get a copy of this message
Hi! How can I get JavaScript validation but not for all Buttons. In php it is easy to get validation wherever (and only where) necessary but how can I tell my JavaScript to ignore validation on "Cancel" Buttons If I could overwrite the onSubmit-Action with JavaScript would be fine for me - but I guess that is not possible, is it? Or can I add some code to the JavaScript? Regards Daniel

« previous php.pear.general (#9581) next »