Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box problem

Status
Not open for further replies.

egmweb

Programmer
Mar 19, 2004
147
EU
Hello all.

I'm new on this. I'm having problems with a combobox in flash 8 trying to sending the variables to php script.

Here is my actionscript code:
lname1.addItem("Billing", "Billing");
lname1.addItem("Support", "Support");
lname1.addItem("Sales", "Sales");

function validate (address) {
if (address.length>=7) {
if (address.indexOf("@")>0) {
if ((address.indexOf("@")+2)<address.lastIndexOf(".")) {
if (address.lastIndexOf(".")<(address.length-2)) {
return (true);
}
}
}
}
return (false);
}


if ((validate(email)) && (fname != "")) {
action = "send";
loadVariablesNum (mailform, 0, "POST");
}

Would you please tell me how can send that?

Thanks you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top