Validation?.. in flash if

ok questoin

Lets say U have some values in flash

well under instance name i am using myLVS. load var thing

anyways

what i want to do using someting

IF no store number is in,
something poping up, or writting
perferably pop up saying

Please enter store number…

is there a way to do this??

so basically they can only pass the form, if a store number is present if not they have to enter a store number…

You could either check that there is a value in the store number field and if there is you assume it’s correct, or you could load all your store numbers into an array and then use a for statement to check the entry against the array and look for a match.

well lemme clearify a bit about this…

from Flash it’s going to ASP and from ASP to ACCESS mdb file…

I was always thinking, that i need to put a javascript in the ASP file, and IF doesn’t recongnize the number requested it will pop up a message saying Sorry please enter new number or something?

is that do-able?

since i am kinda of anew bie to flash,
can u guide me on the command to check

if there nothing inthe Store text field '( i am using instance names)
that a new movie layer or somethig plays and says
Enter again?

sorry for bugging.

I’m don’t know a lot about server side scripting, but i’m guessing you chould return a boolean value back to flash from your scripts that is then analized and action is taken based on if it is true or false.