AnsweredAssumed Answered

How to write a function to validate a field contains only valid email addresses?

Question asked by DanielOuimet on Jul 23, 2009
Latest reply on Jul 23, 2009 by DanielOuimet

Title

How to write a function to validate a field contains only valid email addresses?

Post

Hi,

 

having some difficulties in writing a function to use in the calculation for the Validated by Calculation to validate a field contains only valid email addresses

(there are no regular expression in FM, should be!)

A valid email address in regexp is :

[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}

Now how to write this in FM???

The next version should have regexp, would be so easy :-)

 

Thanks,

Daniel 

Outcomes