How do I create a text mask input?

Hi Andre, are you using 2 different fields or the same field needs to be using different masking?

If you’re using 2 different fields this can likely be possible by looking at this post:

If you’re using the same field for both it would require a bit extra JS, but certainly is possible.

Let me know if this works or it must be the same field for both CNPJ and CPF