PhoenixDown
Programmer
I don't know if these are wrong. If they are, please fix it.
if (($in{'Field3'} eq ""
|| ($in{'Field3'} !~ /[\@|\.||a-zA-Z0-9]/)) {
&GBStandardHTML("You have entered an invalid email address. Your email address must contain an @, a period (.), and at least one letter or number. "
;
exit;
}
}
How can I make the form know if there is an @, ., and at least one letter or number?
if ($vars_gen{'Field3Data'} eq "url"
{
if (($in{'Field3'} eq ""
|| ($in{'Field3'} !~ /[http:\/\/|\.|a-zA-Z0-9]/)) {
&GBStandardHTML("You have entered an invalid URL. Your URL must include the exit;
}
}
How can I make the form know if there is http://, ., and at least one letter or number?
Thank you!
- Go there!
if (($in{'Field3'} eq ""
&GBStandardHTML("You have entered an invalid email address. Your email address must contain an @, a period (.), and at least one letter or number. "
exit;
}
}
How can I make the form know if there is an @, ., and at least one letter or number?
if ($vars_gen{'Field3Data'} eq "url"
if (($in{'Field3'} eq ""
&GBStandardHTML("You have entered an invalid URL. Your URL must include the exit;
}
}
How can I make the form know if there is http://, ., and at least one letter or number?
Thank you!