[SOLVED] Filter on input?

Hello there,
I need to show the last 3 characters of a password field,
Do any of you know a way of doing such a thing ?

I would really appreciate your help, I tried with custom directives but it’s not working yet.

I did it by creating another password field, filled with the dot characters from a password, and I show the field whenever I want to.
If you have any questions about how to perform it, I can answer now