Forum Academy Marketplace Showcase Pricing Features

Mask a field for bank accounts

Hi everyone,

So I´ve thought if anyone would know how to mask a field while on input.

Check this fiddle as an example:

You can change the input type to “password” and it’ll mask it for you with asterisks.

After looking at the jsfiddle, though, I’m not sure if this is what you’re asking. Could you maybe rephrase the question? What do you mean by “mask?”

1 Like

Hi @potentialthings,

I mean that when you are entering the bank account number for example it´s automatically masked with “-” between the numbers or with " / ". Like in the fiddle.

Thanks for your reply I was trying the asterisk thing and did not think about using a type to password.

I’d like that too.

I found that dates are very flexible, but currency and others must be done by hand.