How to apply Masked Input to Fields similar to a Password Field