PDA

View Full Version : contact form


dashboardgyno
02-28-2008, 01:16 PM
I swear this form used to work... but now it doesn't... Well it does prompt, the your message has been sent... but it doesn't send.

here is the actionscript from the fla:

rec="info@fatguyphotography.com";
serv="php";

var fields_descriptions= Array ("",
Array("t1", "your_name", "Your Name:"),
Array("t2", "your_email", "E-mail Address:"),
Array("t3", "telephone", "Telephone:"),
Array("t4", "message", "Your Message:"),
Array("t5", "field_2", "E-mail:"),
Array("t6", "field_3", "Address:"),
Array("t7", "field_4", "fax:")
);

function reset_txt(name,name2,value) {
path=eval(_target);
path[name2]=value;

this[name].onSetFocus=function() {
path=eval(_target);
if(path[name2]==value) { path[name2]="";}
}

this[name].onKillFocus=function() {
path=eval(_target);
if(path[name2]=="") { path[name2]=value;}
}
}


for (i=1; i<=fields_descriptions.length; i++) {
reset_txt("t"+i, fields_descriptions[i][1], fields_descriptions[i][2]);
}


along with that I have uploaded the php file it would contact. Can anyone help me out please!