ok I dont get it… I have a simple contact form, and a basic if/else to check if certain fields have been left blank… if they have frame two displays an error message, if filled in then it posts the vars and goes to frame three thanking the user. For some reason this code ALWAYS returns false:
on (release) {
if (name eq "" or address eq "" or city eq "" or state eq "" or zip eq "" or phone eq "" or email eq "" or projects eq "") {
_root.gotoAndStop(2);
} else {
_root.gotoAndStop(3);
loadVariablesNum("contact.php", 0, "POST");
}
}
And this ALWAYS returns true:
on (release) {
if (name == "" or address == "" or city == "" or state == "" or zip == "" or phone == "" or email == "" or projects == "") {
_root.gotoAndStop(2);
} else {
_root.gotoAndStop(3);
loadVariablesNum("contact.php", 0, "POST");
}
}
WTF is going on with this?
peace