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 do you make the Matrix form so the answer area is larger?

    Asked by cardiojost on January 31, 2013 at 01:12 PM

    I am trying to create a form where patients can submit their medication lists.  I need columns for "Medication Name", "Amount/mgs. of Medication", "# of Time taken Daily", "Name of Prescribing Doctor" and "Start Date of Medication".  The matrix form has pre-set sizes for answers, but I need some of them to be larger and some to be smaller.  How do I acheive this?

    Sincerely,

    Scott J

  • Profile Image
    JotForm Support

    Answered by EltonCris on January 31, 2013 at 01:32 PM

    Hi Scott,

    Inject the following CSS codes to your form. Just adjus the matrix width values e.g. 200px according to your needs. I have added a label so you can identify which column width is the code for.

    .form-matrix-values {

    padding-left: 8px;

    padding-right: 8px;

    }

    /*-first column width-*/

    .form-matrix-values .form-textbox {

    width: 220px;

    }

    /*-2nd column width-*/

    .form-matrix-values +

    .form-matrix-values .form-textbox {

    width: 200px;

    }

    /*-3rd column width-*/

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values .form-textbox {

    width: 100px;

    }

    /*-4th column width-*/

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values .form-textbox {

    width: 100px;

    }

    /*-5th column width-*/

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values +

    .form-matrix-values .form-textbox {

    width: 100px;

    }

    Guide: How to Inject Custom CSS Codes to your Form

    Feel free to let us know if you have further questions. Thanks!