Prevent users entering personal email addresses (Hotmail, Gmail, etc)

Hi everyone,

We are a purely B2B business, and therefore should not have any contacts' personal email addresses such as @hotmail, @gmail, @yahoo, etc.

Is there a way to prevent email addresses with these suffixes being saved in Sugar? I cannot see a way to do this via Studio, but perhaps this can be done via code customisation...? Is this feasible?

I appreciate this is mostly an end-user training issue which we are addressing, but I'd like to fully prevent this from happening in the future with new starters etc.

We are on an old Ultimate version of Sugar, but will be upgrading to v8 upon it's GA release.

Many thanks!

Philippa

  • Hi Philippa Grover,

    I wonder if a custom field validation would work for you in this case.

    Email Address is a unique field in that it is more like a relationship field to the email_address 'module' instead of a typical field on the record. If field validation does not work directly for email address type fields, maybe you can calculate a custom Textfield on the record that captures the entry, and validate that typical field type.

    I hope this helps!

  • Hi Patrick McQueen,

    Many thanks, that's really helpful! I have forward your comments to our developers, to see if they can apply this change.

    Thank you again for your update

    Philippa

  • Hi Philippa,

    I know this is an old thread, but I'm interested in what your solution was, we have a similar issue.

    Could you give me some pointers? :-)

    Kind regards john