ho fatto mille volte questo form ed è sempre funzionato ..
secondo voi c'è qualcosa che non va? non riesco ad inviare le e-mail
Codice PHP:invia_mc.onRollOver = function() {
this.gotoAndStop(2);
}
invia_mc.onRollOut = function() {
this.gotoAndStop(1);
}
invia_mc.onRelease = function() {
if (azienda == null || azienda == "" || referente == null || referente == "" || indirizzo == null || indirizzo == "" || telefono == null || telefono == "" || fax == null || fax == "" || email == null || email == "" || domande == null || domande == "") {
this._parent._parent.errore_mc._visible = true;
} else {
var targetLoadVars:LoadVars = new LoadVars();
var myLoadVars:LoadVars = new LoadVars();
myLoadVars.azienda = azienda;
myLoadVars.referente = referente;
myLoadVars.indirizzo = indirizzo;
myLoadVars.telefono = telefono;
myLoadVars.fax = fax;
myLoadVars.email = email;
myLoadVars.domande = domande;
myLoadVars.settore = settore;
myLoadVars.sendAndLoad("form_mail.asp", targetLoadVars, "POST");
trace(myLoadVars.referente)
this._parent._parent.errore_mc._visible = false;
this._parent._parent.campiimput_mc._visible = false;
this._parent._parent.nomecampi_mc._visible = false;
this._parent._parent.ok_mc._visible = true;
}
}

-
Rispondi quotando