i have a if statement it checks a form that has * to mark fields that need to be filled out i want my if statement ot check to see if the fields are filled in and if they are not i want it to exit the script before it moves on to the next command… i guess i could use a else if but i want to know if there is another way…
on(release){
if (SubjectTxt.text == “” or NameTxt.text == “” or EmailTxt.text == “” or MessageTxt.text == “”) {
warning.text = “Not all Fields were filled out correctly!!!”;
“THIS IS WHERE I WOULD PLACE IT”
}
}
form.loadVariables(“email.php”, “POST”);