> onClick='submit();'
This looks to me like javascript, not perl.
You set paramaters using input elements in the form to which the control possessing the onClick belongs.
It's probably better not to use javascript for a submit button, as not everyone has javascript, just do <input type="submit" />
HTH
--
Don't Stand on your head - you'll get footprints in your hair
http://charlieharvey.org.uk
http://charlieharvey.com