Laks,
I made a small changes on the regular expression in the code I sent you the other day. It should work for this case now. Just let you know that to fully validate an email address is a lot more than just checking the “@”. You can google it. It should be a pretty complex regular expression.
if (!event.value) {
event.rc = true;
}
else {
var s = new String(event.value);
if (s.match(/^[^@]+@[^@]+$/)) {
event.rc = true;
}
else {
app.alert("Invalid email address");
event.rc = false;
--
You received this message because you are subscribed to the Google Groups "CenoPDF Support Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cenosupport...@googlegroups.com.
To post to this group, send email to cenos...@googlegroups.com.
Visit this group at http://groups.google.com/group/cenosupport.
For more options, visit https://groups.google.com/groups/opt_out.