Tissot Posted November 27, 2006 Posted November 27, 2006 Hi! This is how I’m doing it until now: If(IsEmpty(kEMail);0; If(Position (kEMail;"@" ;1 ; 1 ) > 0 and Position (kEMail;"." ;1 ; 1 ) > 0;1;0)) This Calculation is perfect until it comes to deleting the Email field. Then the Validation won't let me delete the field. Any solution? Regards. Ron
Genx Posted November 28, 2006 Posted November 28, 2006 I suggest you dont actually use validation but instead give the user some sort of visual indication that the email is invalid, i.e. changing the contents to red... Much more friendly - If you want a real email validation thing (go to www.briandunning.com click Custom Functions on the left and search email). Finally, don't use IsEmpty()... Also the below format is a bit more ... slipstreamed and clean. Oh and if you actually need to know whether an email exists so that you can send an email (i.e. its for a script) -- just add a calc field to check it. Case( IsEmpty(kEMail); 0 ; Position (kEMail;"@" ;1 ; 1 ) > 0 and Position (kEMail;"." ;1 ; 1 ) > 0 ; 1; 0)//Default Value and End Case Statement
Recommended Posts
This topic is 6570 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now