I'm not getting the same behavior. Do all of your fields have different
names and did you remove all other scripts?
I placed the same script into a different form and got the same result. It just keeps looping between the 2 error messages. I made sure that no other scripts are running.
A friend and I figured out that if there is a text field that does not have a script running in between the 2 required fields (with a script running in each), it works. Is there any other way to do this?
Have you thought about hiding all the other fields and only make them visible on "Else" ?
Then you set focus on the next field.
For instance, based on your code :
app.alert("This field must be complete. Please enter the Customer's Name");
getField("Name2").display = display.visible;
Hope this help!