PDF forms: email address field
Hello,
I am almost happy with the javascript instructions listed below and based on Creating email address format text box formatting:
var email = /^[a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+\.)+[a-zA-Z0-9.-]{2,4}$/; if (event.value!=""){if (!email.test(event.value)){event.rc = false;app.alert("\"" + event.value + "\" is not a valid email address.");};};However, the script above does not suppress a wrong email address. It only warns about the faulty format. I would like it to be more restrictive to force right email address. How could this be achieved?
Thanks
