Hi,
I'm doing a contact page and want after checking that all fields are fill in loadVariables when I click on submit. At the same time gotoAndPlay correct page (like thank you for you post). But if I have to if statment about user field and so on the loadVariables dasen't work. Please Help me anyone.
Here is the script. Please tell me what's wrong with it.
on (Release) {
if (form.userName. text == "" || form.userEmail. text == "" || form.userComent s.text == "") {
gotoAndStop("er ror");
} else {
form.loadVariab les("email.php" , "POST");
gotoAndPlay("co rrect");
}
}
I'm doing a contact page and want after checking that all fields are fill in loadVariables when I click on submit. At the same time gotoAndPlay correct page (like thank you for you post). But if I have to if statment about user field and so on the loadVariables dasen't work. Please Help me anyone.
Here is the script. Please tell me what's wrong with it.
on (Release) {
if (form.userName. text == "" || form.userEmail. text == "" || form.userComent s.text == "") {
gotoAndStop("er ror");
} else {
form.loadVariab les("email.php" , "POST");
gotoAndPlay("co rrect");
}
}