Meetloaf Posted December 29, 2006 Share Posted December 29, 2006 I have a simple problem (I hope). I wish to validate e-mail addresses. I just want to do a simple search that tells me all the addresses that do not have the form: "[email protected]" I was hoping to accomplish this by doing a search, something like *@*.* ...however, the @ is a wildcard from what I understand. Any ideas how I can do this? Link to comment Share on other sites More sharing options...
Raybaudi Posted December 29, 2006 Share Posted December 29, 2006 Hi as you have the Advanced version of FMP 8, you can use a custom function like this. Link to comment Share on other sites More sharing options...
Raybaudi Posted December 29, 2006 Share Posted December 29, 2006 ... like this Link to comment Share on other sites More sharing options...
comment Posted December 29, 2006 Share Posted December 29, 2006 The "@" character is a "character with special meaning" when defining search criteria, so it needs to be escaped. See Help > Finding, sorting, and replacing data > Finding records > Finding text and characters. Link to comment Share on other sites More sharing options...
Meetloaf Posted January 3, 2007 Author Share Posted January 3, 2007 (edited) The custom function works great. Thanks! Edited January 3, 2007 by Guest Link to comment Share on other sites More sharing options...
Newbies Pedropon Posted February 16, 2007 Newbies Share Posted February 16, 2007 ... like this Thanks for the tips, but I just don't know how to validate an email entry field with an extensive error message using IsEmailValid. The only thing I succeed to do for now is to create a button next to the field that call a script using IsEmailValid to correctly display errors. Thanks Link to comment Share on other sites More sharing options...
Raybaudi Posted February 16, 2007 Share Posted February 16, 2007 Hi you don't need a script, but only a calculation, result text Link to comment Share on other sites More sharing options...
Newbies Pedropon Posted February 16, 2007 Newbies Share Posted February 16, 2007 you don't need a script, but only a calculation, result text Wow, Thanks, I got it, it was to simple for my head scratching session; " Auto-enter, Calculate Value, Do not replace..." Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6275 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