hi,
Does anybody know how i can do this:
I have a inputfield named : email
When that field is empty you get a error that says to fill in your email. that works. But now i want it checks the inputfield if it contains a “@”
i have now this AS:
on (release) {
if (email == "@") {
gotoAndStop("end");
} else {
var o = schoen_mc.attachMovie("error-mail", "error-mail", 7);
o._x = 590.0;
o._y = 240.0;
}
}
but that doesn’t work. or do i need another symbool instead of ==