Need help passing form validation message

I have the following which produces a trace if the user does not type an email address when testing locally, but nothing when testing outside of Flash.

//handle onValidation
myForm.onValidate = function(infoObj:Object):Void  {
 if (infoObj.success) {
  trace("Form is Valid for Submission");
  //this line actually submits the form
 } else {
  trace("Validation Failed. Please check your input");