Hello. I am havign a few issues with doing a flash form using PHP. First of all, the way the form is set up, I have a few input text feilds, a few checkbox components, and clear and submit buttons. I am having several problems.
First of all, when I clear the checkboxes, it visually clears them, but it doesn’t clear the data, because if I fill out the form and check the boxes, and then clear it, and then send it with only one or no boxes checked, I still get the data in the PHP email. Here is the AS i am using:
(Just a quick update, apparently, also, if i check the box and then uncheck it again, it also registers as having been checked anyways)
on the checkboxes:
on (press){
_global.web = this.getValue();
if (_global.web = O) {
_global.web = “Website”;
} else {
_global.web = null;
}
}
on the clear button:
web.setValue(0);
on the submit button:
web = _global.web
loadVariablesNum(“form.php”, “0”, “POST”);
Also, my second problem is I am trying to send a message back to flash from the PHP into a dynamic text box in the form saying Thanks, blah blah. and that isn’t working either. the entire form is contained within a MC called ContactMC. the textbox’s variable is “status”. This is the line I have in the PHP after the mail bit:
Print “_root.ContactMC.status=Your form has been sucessfully sent. Thank you!”;
If anyone coudl help me with these issues I would be soooooooooo much less stressed…lol.
If you need me to post a fla, let me knwo and I will.
Thanks!!