How do I remove the Primary, Opted-Out and Invalid Labels for the Phone Number field?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cuz
    Member
    • Aug 2023
    • 38

    How do I remove the Primary, Opted-Out and Invalid Labels for the Phone Number field?

    I would like to remove these labels because I do not use them.

    If I have to go into the code to do this can someone please tell me where to go an how to change the code?

    Thanks, Mike
  • victor
    Active Community Member
    • Aug 2022
    • 760

    #2
    You should ask this question at https://forum.espocrm.com/forum/developer-help. Although I don't think it's possible to implement your request.

    Comment

    • novastream
      Member
      • May 2021
      • 71

      #3
      If you are some what familiar with adding css you could add these:

      Code:
      button.btn.phone-property[data-property-type="optOut"],
      button.btn.phone-property[data-property-type="invalid"] {
          display: none;
      }
      EDIT:
      Please note that this will only hide the buttons and people can still remove the display none attribute from the browsers inspector tool.

      Comment

      Working...