Disable specific value for email fields

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • _frank_
    Junior Member
    • May 2020
    • 5

    Disable specific value for email fields

    Hi guys,

    I would like to disable the possibility to insert email with a specific domain in Leads and Accounts.

    For example, I would like to exclude the possibility to insert Gmail email, so if it's contain the string "@gmail.com".

    The results that I would like to have is the one attached.

    Do you have some ideas how to do it?

    Thanks for your help
  • Oleksii S.
    Member
    • Apr 2020
    • 43

    #2
    As I know, the only option without hard coding is to make Formula check the field, and do something like correct/erase it or sent a message to a user.

    Comment

    • eymen-elkum
      Active Community Member
      • Nov 2014
      • 472

      #3
      The correct way to manage for this request is to create custom view for "Email" field type, then to override the validation function, this can be done in safe upgrade way.

      I can manage make this as a free extension this week, if cannot wait contact me on my email.

      Best Regards
      CEO of Eblasoft
      EspoCRM Expert since 2014
      Full Stack Web Developer since 2008
      Creator of Numerous Successful Extensions & Projects​

      Comment

      Working...