codice:
function formcheck() {
if ((((email == null)) || (email.length<1)) || (email == "ERRORE! Indirizzo non valido")) {
email = "ERRORE! Indirizzo non valido";
action = "";
}
if (!validate(email)) {
email = "ERRORE! Indirizzo non valido";
action = "";
}
if (fname == null) {
fname = "ERRORE! Campo Richiesto";
action = "";
}
if (lname == null) {
lname = "ERRORE! Campo Richiesto";
action = "";
}
radioButton = radioGroup.getValue();
if ((validate(email)) && (email != "ERROR!") && (fname != "") && (lname != "")) {
action = "send";
loadVariablesNum(mailform, 0, "POST");
this.gotoAndPlay("wait");
}
}
stop();
ovviamente all'interno di php dovrai ricevere oltre alle altre variabile anche radioButton.