Required fields in a flash feedback form

Here is the following code:

this.contactForm.submitBtn.onRelease = function() {
if (contactForm.userEmail.text == “” || contactForm.userName.text == “” ||
contactForm.userPhone.text == “”) {
gotoAndStop(“error”);
} else {
gotoAndStop(“correct”);
}
}

This will require the user to input all requested fields in a form. but the required fields that i want when a person enters is their email and name.
I want the users cell phone to be optional, so would this work

this.contactForm.submitBtn.onRelease = function() {
if (contactForm.userEmail.text == “” || contactForm.userName.text == “”) {
gotoAndStop(“error”);
} else {
gotoAndStop(“correct”);
}
}

I already to send the form results to my email defined.
Thanks,
Gabriel