# CheckBox problem in flash/php-mailform

**URL:** https://forum.kirupa.com/t/checkbox-problem-in-flash-php-mailform/297318
**Category:** programming
**Created:** [September 30, 2009, 7:10am UTC](https://forum.kirupa.com/t/checkbox-problem-in-flash-php-mailform/297318 "2009-09-30T07:10:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gwen123](https://avatars.discourse-cdn.com/v4/letter/g/8797f3/32.png) [@gwen123](https://forum.kirupa.com/u/gwen123)
#### Post date: [September 30, 2009, 7:10am UTC](https://forum.kirupa.com/t/checkbox-problem-in-flash-php-mailform/297318/1 "2009-09-30T07:10:51Z")

</div>

Hello everyone!

I’ve made a form in Flash CS4 in which the information that’s being sent to an e-mail address is processed by a php script . So far so good…

However, besides four textfields, I would also like to insert a checkbox in my form, which will send the words “yes” (when clicked) and “no” (when unclicked) in the e-mail message.

I can’t seem to get it done… I’ve already inserted a checkbox in my form, with the instance name “CheckBox” and I have the following script for my submit-button:

* * *

## on (release) { // send variables in form movieclip (the textfields) // to email PHP page which will send the mail form.loadVariables(“email.php”, “POST”); }

I’ve loaded up my PHP file, which processes my form to an e-mail address.

Could somebody please help me! :thumb:

Thanks in advance!!  
Greets Gwen
