# Help with field verification mail form

**URL:** <https://forum.kirupa.com/t/help-with-field-verification-mail-form/286128>\
**Category:** flash\
**Created:** [April 10, 2009, 2:34pm UTC](https://forum.kirupa.com/t/help-with-field-verification-mail-form/286128 "2009-04-10T14:34:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakes](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@jakes](https://forum.kirupa.com/u/jakes)\
**Post date:** [April 10, 2009, 2:34pm UTC](https://forum.kirupa.com/t/help-with-field-verification-mail-form/286128/1 "2009-04-10T14:34:58Z")

</div>

Could someone help me please? I have a flash and php based mail form that needs to have the fields verified. So when a user does not insert info in the text fields, an error clip will play. The form works fine without the verification of fields, but I want to prevent from receiving blank emails.

The form is created in 2 parts or tutorials since I’m trying to add field verification or error  
message. Here are the links of the tutorials. [http://www.gotoandlearn.com/playid=50](http://www.gotoandlearn.com/playid=50) and the next link is for the field verification. [http://www.macromediahelp.com/flash/php\_flash\_contact\_form//](http://www.macromediahelp.com/flash/php_flash_contact_form//)

I’m using CS3 with AS1 and 2. Here is my original AS without the verification.

```auto
stop();
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
submit2.onRelease = function() {
 senderLoad.name2 = name2.text;
 senderLoad.email2 = email2.text;
 senderLoad.address2 = address2.text;
 senderLoad.phone2 = phone2.text;
 senderLoad.sendAndLoad("http://www.agdeal.com/flash/sendmike2.php",receiveLoad);
}
receiveLoad.onLoad = function() {
 if(this.sentOK) {
  _root.gotoAndStop("success");
 } 
        else {
  _root.gotoAndStop("failed");
 }
};

```

Any help is MUCH Appreciated Thanks. I would upload the form document but it seems to be too large for attachments.
