Hi,
I am trying to make sure that all of the input boxes in a frame have something in them before I advance to the next frame.
Unfortunatly my syntax is bad and what I have come up with may not even work if the syntax is fixed. Here is my script which is on the send bytton (I know I am bad. It should be in a function)
Please take a look at this.
Thanks!
Code:on (press) { vhost1.stopSpeech(); //try to be sure we have something in every box if (accountNumber.text.length == 0) gotoAndStop (177); else if (accountNumber.text.length == 0) gotoAndStop (177); else (firstName.text.length == 0) gotoAndStop (177); else if (lastName.text.length == 0) gotoAndStop (177); else if (email.text.length == 0) gotoAndStop (177); else if (tech.text.length == 0) gotoAndStop (177); else if (locations.text.length == 0) gotoAndStop (177); else if (supplier.text.length == 0) gotoAndStop (177); else if (areaCode.text.length == 0) gotoAndStop (177); else if (prefix.text.length == 0) gotoAndStop (177); else if (phone.text.length == 0) gotoAndStop (177); QuerySent = ""; gotoAndPlay(36); play(); }