My Number field will not shrink

  • Profile Image
    mainstem
    Asked 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.

  • Profile Image
    jonathan
    Answered 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.

    Thanks.

  • Profile Image
    mainstem
    Answered on April 13, 2012 at 06:44 PM

    ok thanks

  • Profile Image
    iholder
    Answered 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.

    Thanks,

    Ian

  • Profile Image
    idarktech
    Answered 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
    NeilVicente
    Answered on February 15, 2013 at 09:11 AM

    Ian,

    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.