# Contact form actionscript - help

**URL:** <https://forum.kirupa.com/t/contact-form-actionscript-help/249363>\
**Category:** flash\
**Created:** [January 17, 2008, 11:18pm UTC](https://forum.kirupa.com/t/contact-form-actionscript-help/249363 "2008-01-17T23:18:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geO\_GY](https://avatars.discourse-cdn.com/v4/letter/g/91b2a8/32.png) [@geO\_GY](https://forum.kirupa.com/u/geO_GY)\
**Post date:** [January 17, 2008, 11:18pm UTC](https://forum.kirupa.com/t/contact-form-actionscript-help/249363/1 "2008-01-17T23:18:06Z")

</div>

Hi all,

I have a form, and the mandatory fields are 5 text fields.  
In order for the send button to work, the 5 text fields need to be filled out.

It works fine, however i wan’t to add a check box to be apart of the mandatory fields.

How can i add the checkbox to the below?  
Also in flash 8, when addinig a checkbox, how can the text besides it be edited?  
By standard it says “checkbox” besides the box and cannot be removed…

{  
if(Siam.text != ‘’  
&& Srstatus.text != ‘’  
&& Sname.text != ‘’  
&& Semail.text != ‘’  
&& Sprivacy.text != ‘’  
)  
{  
// enable btn  
sendMC.sendButton.enabled = true;  
} else {  
// diable  
sendMC.sendButton.enabled = false;  
}

😏
