> calling a JavaScript function that validates the form fields are complete, checks the text, etc. AND would ping my PERL script
Maybe I'm missing something here ... is there any reason you can't just validate the required fields using JS (spitting out the JS whatever when a field isn't complete), and as long as there's no problems, submit the form via CGI as a POST request?