How to create masks in the fields?

  • Profile Image
    locacaodelaboratorios
    Asked on December 28, 2016 at 11:21 AM

    I would like to create masks for when the user types the numbers they assume the format. Example: xxx.xxx.xxx-xx or CNPJ:  xx.xxxx.xxx/xxxx-xx.

    With JotFom is it possible to do this? I await your guidelines to make the purchase of the package.

    ----

    Gostaria de criar máscaras para quando o usuário digitar os números ele assumir o formato. Exemplo: xxx.xxx.xxx-xx ou CNPJ: xx.xxxx.xxx/xxxx-xx. 

    Com o JotFom é possível fazer isso? Aguardo suas orientações para efetuar a compra do pacote.

  • Profile Image
    AIDAN
    Answered on December 28, 2016 at 11:46 AM

    Hi, thank you for contacting us.

    I examined your form and found that you have successfully set a mask for the field "CNPJ". The only problem I noticed is that the second part is one number short.

    I see that you opted for the second example, meaning xx.xxxx.xxx/xxxx-xx and for this one the mask would need to be: ##.####.###/####-##

    But it is currently: ##.###.###/####-##

    As a result, the only change you need to do here is to add one # and the result will be exactly like your second example.

    If you would like the mask to match your first example, meaning xxx.xxx.xxx-xx, please use this mask:

    ###.###.###-##

    Please let us know if you need further assistance. We'll be happy to help.