D
D
DevRev2016-07-14 11:12:01
css
DevRev, 2016-07-14 11:12:01

How to hide the data on the user's confidential information page, leaving only the last few (numbers, letters)?

There are fields with user data.
For example:
Phone number: (495) 333 33 33
And after saving the data (the same phone number) it should look like this:
Phone number: (495) *** ** 33
How can this be implemented in the front-end to prepare the back environment -enda?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
fetis26, 2016-07-14
@DevRev

And what's the point of doing it on the frontend while filling out the form? After all, you still have to store the whole number somewhere in the browser and anyone who wants to get it anyway. Of course, you can get confused with encryption, but this is too much already

N
Nikita Kravchenko, 2016-07-14
@Kravchenko_n

You can't do it in the front-end, it must be implemented in the back-end.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question