I have the Custom field
Credit Card on my Account object. When User Submit Credit Card information I want to format & mask it like below
For ex: If Credit Card Value is 1234 8907 2345 8101, before saving I wan to format and masks both. So it should like below
How I can do this? What approach do I need to take. Will it be possible using the salesforce OOB features?
I have created Credit Card field as a Number (16,0). Do I need to create it as text ?