# Flash form problem

**URL:** <https://forum.kirupa.com/t/flash-form-problem/139605>\
**Category:** Uncategorized\
**Created:** [March 4, 2005, 3:07am UTC](https://forum.kirupa.com/t/flash-form-problem/139605 "2005-03-04T03:07:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rykong196](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@rykong196](https://forum.kirupa.com/u/rykong196)\
**Post date:** [March 4, 2005, 3:07am UTC](https://forum.kirupa.com/t/flash-form-problem/139605/1 "2005-03-04T03:07:19Z")

</div>

I tried the tutorial [by senocular at http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

However, if the user does not fill in all the text fields, a message will come out saying “Please fill in the fields mark \*”. I tried the code below, i thought it works at first, but when I test in on the server, I did not receive any email.  
Below is the code:  
on (release) {  
if (firstname == undefined || lastname == undefined || addressbar == undefined || email == undefined){  
\_root.questions.gotoAndPlay(“blanks”);  
} else {  
\_root.questions.form.loadVariables(“email.php”, “POST”);  
}  
}

I tried filling in all the blanks, and the message still appears, and no data is send to the email! Please do help!
