Ok I manage to build my contact page. One issue though. For the send button; it shouldn’t send nothing if the text fields are empty, right. Cause thats the case with me. The clear button works fine. Its the send button thats giving me an issue. It acts if everything is filled out and gives the thank you message. Below is the code that I have for the send button ( don’t know if it’s missing something).
on (release) {
if (first eq “” or last eq “” or address eq “” or address2 eq “” or phone eq “” or email eq “” or comment eq “”) {
stop();
} else {
loadVariablesNum(“form.php”, 0, “POST”);
gotoAndStop(2);
}
}