# Flash form with a few check boxes

**URL:** https://forum.kirupa.com/t/flash-form-with-a-few-check-boxes/203394
**Category:** Uncategorized
**Created:** [October 10, 2006, 6:54pm UTC](https://forum.kirupa.com/t/flash-form-with-a-few-check-boxes/203394 "2006-10-10T18:54:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![htrain26](https://avatars.discourse-cdn.com/v4/letter/h/d07c76/32.png) [@htrain26](https://forum.kirupa.com/u/htrain26)
#### Post date: [October 10, 2006, 6:54pm UTC](https://forum.kirupa.com/t/flash-form-with-a-few-check-boxes/203394/1 "2006-10-10T18:54:10Z")

</div>

I have flash form with a few input text boxes and a few check boxes. It sends but I receive all “undefined”.  
I have this code on my submit btn–  
on (release) {  
if (company eq “” or contact eq “” or address eq “” or city eq “” or state1 eq “” or zip eq"" or phone eq"" or email eq"")  
{  
stop();  
} else  
formData = new LoadVars();

```
    formData.company = company.getValue();
formData.contact = contact.getValue();
formData.address= address.getValue();
formData.phone = phone.getValue();
formData.email = email.getValue();
formData.addinfo = addinfo.getValue();
formData.individual = individual.getValue();
formData.group = group.getValue();
formData.medicare = medicare.getValue();
}
  if (mailList.getValue() == 1) 
    {
        formData.mailList = 1;
    } 
    else 
    {
        formData.mailList = 0;
    } 

```

formData.sendAndLoad(“email\_request.php”, formData, “Post”);

\_root.gotoAndStop(42);

and I have my php code–

\<?  
include ‘init.php’;

mail ("htrain26@yahoo.com", “All Type Accounting Contact Us Form”,  
"  
The following is input from the request info page.  
Please respond to $name at $email in 2-3 business days.

-----------------------------Basic Information----------------------

company: $company  
contact: $contact  
address: $address  
phone: $phone  
email: $email  
addinfo: $addinfo  
individual: $individual  
group: $group  
medicare:$medicare

Please contact $name immediatly via phone.","$name  
");

any help would be much appreciated,  
thanks,  
hutch
