What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to create masks in the fields?

    Asked by locacaodelaboratorios 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.

    Page URL:
    https://form.jotformz.com/63623754205656

  • Profile Image
    JotForm Support

    Answered by AIDAN 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.