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

    Hi how to change the width of the row and column of the matrix.

    Asked by mbas123 on April 30, 2015 at 04:46 AM

    Hi

    I want to change the width of the row and column of the matrix.

     

    Thanks

    Rey Galvez

  • Profile Image
    JotForm Support

    Answered by ashwin_d on April 30, 2015 at 09:20 AM

    Hello Rey,

    You will have to inject custom css code in your form to increase the width of the columns. Actually before you increase the width of the columns, we need to increase the width of the matrix table which can be done by injecting the following custom css code:

    table.form-matrix-table {

       max-width: 600px;

    }

    After the table width is increase, we need to add custom css code to increase the width of every column to desired width which can be done by injecting the following custom css code:

    /* Form Column 1 */

    th.form-matrix-column-headers.form-matrix-column_0 {

      width: 101px !important;

    }

     

    /* Form Column 2 */

    th.form-matrix-column-headers.form-matrix-column_1 {

      width: 101px !important;

    }

     

    /* Form Column 3 */

    th.form-matrix-column-headers.form-matrix-column_2 {

      width: 101px !important;

    }

     

    /* Form Column 4 */

    th.form-matrix-column-headers.form-matrix-column_3 {

      width: 101px !important;

    }

     

    /* Form Column 5 */

    th.form-matrix-column-headers.form-matrix-column_4 {

      width: 101px !important;

    }

     

    The following guide should help you how to inject custom css code in form:  http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!