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

    My Number field will not shrink

    Asked by mainstem on April 13, 2012 at 04:22 PM

    I am trying to make an age field and would like the box to shrink down. The size says it is at '2' yet the box is really long still.

    I am using Chrome.

    Page URL:

  • Profile Image
    JotForm Support

    Answered by jonathan on April 13, 2012 at 06:10 PM

    Yes, you are correct. I was able to reproduce the same glitch.
    I'll have this forwarded to our development team for a quick fix. For the meantime, as workaround, you may want to use the ordinary text box field instead. Just set the validation property to numeric to limit entry to numbers only.

     Sorry for the inconviniece it may had caused. Inform us should you need other assistance for.


  • Profile Image

    Answered by mainstem on April 13, 2012 at 06:44 PM

    ok thanks

  • Profile Image

    Answered by iholder on December 11, 2012 at 09:30 PM

    I am having the same problem. The number field will not allow a change of width. This doesn't seem to have been fixed. I do not want to use a txt field and do a numeric validation. My primary use with this is on an iPhone. If a text field is used, the keyboard defaults to the Alpha keys, if a number field is used, the iphone defaults to the numeric keyboard. Any idea as to what is up with this width issue.



  • Profile Image
    JotForm Support

    Answered by idarktech on December 11, 2012 at 10:31 PM

    Hi Ian,

    As an alternative working solution, you can Inject Custom CSS Codes to your form to control the number fields width. You may use this:

    input[type="number"] {

    width: 40px;


    Nevertheless, the bug should still be corrected. It was already submitted to our dev team. They'll reply here once it's fixed. Thanks!

  • Profile Image
    JotForm Support

    Answered by NeilVicente on February 15, 2013 at 09:11 AM


    We have recently implemented a fix to this. Number field's width will now adjust depending on the value you have entered on the Size attribute.