Help with submit

can someone help me with my flash form submit?
i’ve tried and search on google but couldn’t get it to work for the last 2 days.
i have a link that pops up a survey form with radio buttons and text input but when i hit the submit button nothing happens.

here is my actionscript for the button.

stop();
submitURL = "http://thecandidgroup.com/ces/mailer.php";

function onSubmit() {
 // Create a new LoadVars instance for the form data
 formData = new LoadVars();
 // Initialize formData variables:
 formData.referred = "";
 formData.contact = "";
    formData.temp = "";
    formData.greet = ""; 
    formData.doc = "";
    formData.question = "";
    formData.refer = "";
    formData.surveyor = "";
 formData.certificate = "";
 // Gather the order information into a LoadVars instance.
 formData.referred = referredGroup.getValue();
 formData.contact = contactGroup.getValue();
    formData.temp = tempGroup.getValue();
    formData.greet = greetGroup.getValue();
    formData.doc = docGroup.getValue();
    formData.question = questionGroup.getValue();
    formData.refer = referGroup.getValue();
 }
 // Create another LoadVars instance to receive the server's reply
 replyData = new LoadVars();
 // Initialize reply variable.
 replyData.reply_referred = "";
 replyData.reply_contact = "";
 replyData.reply_temp = "";
    replyData.reply_greet = "";
    replyData.reply_doc = "";
    replyData.reply_question = "";
    replyData.reply_refer = "";
 replyData.reply_comments = "";
 replyData.reply_surveyor = "";
 replyData.reply_certificate = "";
 
 // Specify a function to call when this new instance receives the reply.
 replyData.onLoad = handleReply;
 // Submit the order data
 formData.sendAndLoad(submitURL, replyData, "post");
 // Tell the user what's happening.
 message_txt.text = "Submitting survey, please wait...";
function handleReply(success) {
 if (success) {
  message_txt.text = "Your survey was received:
";
  message_txt.text += "referred by: " + replyData.reply_referred + newline;
  message_txt.text += "contact: " + replyData.reply_contact + newline;
  message_txt.text += "temp: " + replyData.reply_temp;
 } else {
  message_txt.text = "There was a problem submitting your survey. The server may be down or not responding.";
 }
}