monAmour
12-04-2003, 11:58 AM
How should I do to post my form field.
Is this the right way?
on (release) {
if (fNamn == "" or fNamn == null or fForetag == "" or fForetag == null or fAdress == "" or fAdress == null or fPostnummer == "" or fPostnummer == null or fOrt == "" or fOrt == null or fTelefonnummer == "" or fTelefonnummer == null) {
stop();
}
else {
// Post formfield
loadVariablesNum("page.asp", 0, "POST");
gotoAndPlay(20);
}
}
Does all the vars in the if statement above come along with the loadVariablesNum?
I can't test this myself cause I'm not going to do the server side code this time.
Regards.
Is this the right way?
on (release) {
if (fNamn == "" or fNamn == null or fForetag == "" or fForetag == null or fAdress == "" or fAdress == null or fPostnummer == "" or fPostnummer == null or fOrt == "" or fOrt == null or fTelefonnummer == "" or fTelefonnummer == null) {
stop();
}
else {
// Post formfield
loadVariablesNum("page.asp", 0, "POST");
gotoAndPlay(20);
}
}
Does all the vars in the if statement above come along with the loadVariablesNum?
I can't test this myself cause I'm not going to do the server side code this time.
Regards.