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 change the cell width of numeric text box type using css?

    Asked by swapna_summit on July 02, 2014 at 05:18 AM

    I need to change the cell width to small width so i inject the css code 

    .form-matrix-values .form-textbox{width: 23px;}

    but this works well with when i change the matrix input type as normal text box,

    how is the css code for a numeric type text box?

    Thanks,

    swapna.

    Numeric cell width textbox css code thanks
  • Profile Image
    JotForm Support

    Answered by NeilVicente on July 02, 2014 at 08:33 AM

    Please try this CSS code:

    .form-matrix-values input[type="tel"] {
         width: 25px !important;
    }

    Change the width as you prefer.

    Hope this helps.

  • Profile Image

    Answered by swapna_summit on April 20, 2016 at 03:04 AM

    Hi, I know that this is an older post but related to query I have again.

     

    My numeric textbox matices have somehow sized themselves up and I have tried everything to make them smaller.

     

    I have used the insert you suggested above but with the matrix ID:

    #id_680 .form-matrix-values input[type="tel"] {

    width: 25px !important;}

    #id_681 .form-matrix-values input[type="tel"] {

    width: 25px !important;}

    #id_682 .form-matrix-values input[type="tel"] {

    width: 25px !important;}

    nothing happens, I have also inserted this above the code where I am background colouring these matrices, 

    Please advise?

  • Profile Image
    JotForm Support

    Answered by Charlie on April 20, 2016 at 04:23 AM

    This post is indeed quite old and there are a lot of changes happened on the form builder, I have opened a separate thread for this so that we can better discuss it. Please refer to this link instead: https://www.jotform.com/answers/822593. Thank you.