Can't understand this:
I have input text fields on the stage. Their var names in text properties are called (Surname, Fno, contactNo, QueryDetail) with no instance names. On the script below I am checking to see that the fields are not empty when submitting, if so it must goto frame6 and stop if it's not goto frame2 and stop. But for some reason it submits the values as blank to the dbase and goto frame2. Am I missing something or must I clear the text fields beforeentering the frame? Thanks...
on (release) {
if(Surname == "" && Fno == "" && contactNo == "" && QueryDetails == ""
{
gotoAndStop(6);
}else{
loadVariables(" this, "POST"
;
gotoAndStop(2);
}
}
You don't need eyes to see just the vision because there are always more ways and different answers to what we are used to...
I have input text fields on the stage. Their var names in text properties are called (Surname, Fno, contactNo, QueryDetail) with no instance names. On the script below I am checking to see that the fields are not empty when submitting, if so it must goto frame6 and stop if it's not goto frame2 and stop. But for some reason it submits the values as blank to the dbase and goto frame2. Am I missing something or must I clear the text fields beforeentering the frame? Thanks...
on (release) {
if(Surname == "" && Fno == "" && contactNo == "" && QueryDetails == ""
gotoAndStop(6);
}else{
loadVariables(" this, "POST"
gotoAndStop(2);
}
}
You don't need eyes to see just the vision because there are always more ways and different answers to what we are used to...