Hi,
I'm doing a contact page. After checking that all fields are used, then I juse loadVariables to php page on submit. At the same time gotoAndPlay correct page (thank you for you post). But it seems to me that if statment about user field don't work with loadVariables. Please Help me anyone.
This is the script. Please someone 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. After checking that all fields are used, then I juse loadVariables to php page on submit. At the same time gotoAndPlay correct page (thank you for you post). But it seems to me that if statment about user field don't work with loadVariables. Please Help me anyone.
This is the script. Please someone 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");
}
}