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

    Pad numbers with '0' digits on the left

    Asked by ProcesosNovis on May 09, 2017 at 06:26 PM

    In a masked entry I need to enter a number, if the length is less than 10 digits, I should fill with zeros to the left, I have entered the format ##########, to make sure they are just numbers, But I do not know how to make it fill with zeroes to the left, can you help me?



    This is a re-post of a comment on Getting Started with the Basics of Input Masking

  • Profile Image
    JotForm Support

    Answered by Chriistian on May 09, 2017 at 10:19 PM

    I'm afraid to say that it is not possible to mask an entry if the length is less than 10 digits, it should fill with zeroes on the left. The masked input is intended only to force an input mask and limit the characters or digits on the text field.

    Alternatively, you can use a Masked Input Widget, where you can have a number precision (Number of decimal places to use), the thousand delimiters, the decimal delimiter, the prefix text like a currency symbol and the default number to be displayed.

    Let us know if you need further assistance.
    Regards.