Help with field verification mail form


could me please? have flash , php based mail form needs have fields verified. when user not insert info in text fields, error clip play. form works fine without verification of fields, want prevent receiving blank emails.

 

the form created in 2 parts or tutorials since i'm trying add field verification or error message. here links of tutorials.

http://www.gotoandlearn.com/play?id=50 , next link field verification.

http://www.macromediahelp.com/flash/php_flash_contact_form//

 

i'm using cs3 as1 , 2. here original without verification.

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 appreciated thanks.

i have sample here:

http://www.smithmediafusion.com/blog/?p=235

 

let me know if works needs.



More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts