How to mask the phone numbers in all module

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ashif Malayil
    Senior Member
    • Dec 2023
    • 171

    How to mask the phone numbers in all module

    How can i mask the phone numbers after creating any module, For example it should show * for every digits after saving. How can i achieve thiis?
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    You can't with the GUI. You might be able to create "fake" one by duplicate the data into some hidden field. And replace the number with ****

    If you know coding, you can do it yourself.

    There is a paid extension that can do this if you don't want to do it yourself.

    Last method is to make a Feature Request and pray for yuri blessing.

    Comment

    • Ashif Malayil
      Senior Member
      • Dec 2023
      • 171

      #3
      Can you please explain the process of first option, Can you share the code?

      Comment

      • esforim
        Active Community Member
        • Jan 2020
        • 2204

        #4
        Originally posted by Ashif Malayil
        Can you please explain the process of first option, Can you share the code?
        As I don't do this and see no big concern to do it. I don't have any code or formula to share. I can only write a sample idea for you to do and experiment.

        Create 2 field:
        Field 1 = passwordType
        Field 2 = passwordReal

        Create formula

        ifThen(passwordType==null, "", passwordReal=passwordType);
        if(passwordReal!=null, string\replace(passwordType,'abcdefg','*"

        These are just a concept, you have to think of a plan

        Comment

        Working...