replace phone number with text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • livewire
    Senior Member
    • Nov 2016
    • 100

    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.

    Thanks
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #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: espocrm.com/#User/edit/1

    The second method is using a Paid Mask Field extension by https://www.eblasoft.com.tr/product-...crm-mask-field
    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 esforim; 11-05-2021, 06:14 AM.

    Comment

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

      #3
      Thank you esforim 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​

      Comment

      • Ashif Malayil
        Senior Member
        • Dec 2023
        • 171

        #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.

        Comment


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