phils13776
New Member
- Messages
- 18
- Reaction score
- 0
- Points
- 0
This java form is really not working for me. I there any way to use a non-java form with you php script?
Maybe three are simple edits i need to make (the template I am using is below). Also attached 2 templates that can work.View attachment flash_contact_form.zipView attachment php_flash_email_form_by_MacromediaHelp.zip
SCRIPT :
serverFile = "contact_form.php";
stop();
//function to seperate form validation checks from email sending logic
function formValidationChecks(){
//checking if email format is valid
if ((!email.text.length) || (email.text.indexOf("@") == -1) || (email.text.indexOf(".") == -1)) {
status.text = "Please enter a valid E-mail address";
return false;
//checking if from field is not blank
} else if (!from.text.length) {
status.text = "Please enter Your Name";
return false;
//checking if message is not blank
} else if (!message.text.length) {
status.text = "Please Enter Your Message";
return false;
}
return true;
}
Maybe three are simple edits i need to make (the template I am using is below). Also attached 2 templates that can work.View attachment flash_contact_form.zipView attachment php_flash_email_form_by_MacromediaHelp.zip
SCRIPT :
serverFile = "contact_form.php";
stop();
//function to seperate form validation checks from email sending logic
function formValidationChecks(){
//checking if email format is valid
if ((!email.text.length) || (email.text.indexOf("@") == -1) || (email.text.indexOf(".") == -1)) {
status.text = "Please enter a valid E-mail address";
return false;
//checking if from field is not blank
} else if (!from.text.length) {
status.text = "Please enter Your Name";
return false;
//checking if message is not blank
} else if (!message.text.length) {
status.text = "Please Enter Your Message";
return false;
}
return true;
}