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

Parents
  • 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!

Reply
  • 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!

Children