No announcement yet.

replace phone number with text

  • Filter
  • Time
  • Show
Clear All
new posts

  • replace phone number with text

    Is possible to replace or hide the phone number so the actual number is not visible?

    for an example i want the phone number on the lead list and individual lead to me replaced with a text name ((HIDDEN)). i dont want to completely remove or hide the field coz i want the user to be able click it.

    any help will be appreciated.


  • #2
    Hmm this is a hard one here (I think), no full guide on how-to yet though.

    Only two workaround I can think of, but they are just theory and highly likely doesn't work because Phone field is a special field and very hard to work with (at least that the impression I have of it).

    The first I can think of is find out how the "Password" mask field is create which only show ******, for example see this example URL:

    The second method is using a Paid Mask Field extension by
    I'm not sure if it can 'hide' number to become (***** hidden) or not though. eymen-elkum can help you out or do an update that can do it.
    Last edited by espcrm; 11-05-2021, 06:14 AM.


    • #3
      Thank you espcrm for the mention ,

      No, Mask field will not work for hidding values, it is only for formatting values.

      If you want the field to keep clickable then the value must be loaded, the change must be done on the phone template & view class, this needs some coding skills and effort.

      You may also will need someway to make this set-able from role or user profile, to switch on off permission for users.
      CEO of Eblasoft
      EspoCRM Expert since 2014
      Full Stack Web Developer since 2008
      Creator of Numerous Successful Extensions & Projects​


      • #4
        eymen-elkum Can you please share the code for masking of numbers? Not able to access your demo instance also.
        Last edited by Ashif Malayil; 05-27-2024, 05:02 AM.


        • espcrm
          espcrm commented
          Editing a comment
          It is a paid extension. Be good if eymen does share, but most likely not.