If I am interpreting what you want to do properly, this is a JavaScript question, not a Perl question.
Stopping the browser from submitting has to be done from the JS.
You would need to write an onSubmit handler that checks all your fields for values and returns false if they are all empty.
-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
Yes it could, but since the lion's share of client side scripting is done in JS, I thought it the appropriate answer. (Particularly when Perl is the server-side language. I would think that most people using VBScript would also be using ASP).
I've been doing web work since the web began and I have never once been involved in or even heard of the project that uses PerlScript for the client side.
-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
You are quite right (and I ++ your comment)~. Perlscript is probably installed on too few systems to be a viable alternative for JS.
It seems a pity though. Somehow I will have to convince our IT-dept to install PerlScript on all our machines. I can then do all kinds of *nice* things to our people's machines when they visit our intranet's webpages.<object codetype='audio/basic' data='maniacal_laughter.wav' />
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law