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

    Allow Cell to have Multiple Lines in Matrix Table

    Asked by ferranma on February 09, 2015 at 08:18 AM



    I want to create a table like this:



    want to input multiple text lines in a cell. and auto adjust cell with the text.


    Sombody can do it for me?


    i've no idea about how can i do it.



    Page URL:

  • Profile Image
    JotForm Support

    Answered by Charlie on February 09, 2015 at 11:33 AM


    Upon checking the form you have, I see that you are using the Spreadsheet widget, is that correct? But you are asking about the Matrix field? I believe it is not possible to add multiple lines into a cell on the Matrix field. BUT, I see that you have some working progress on the Spreadsheet widget. 

    I've modified the custom CSS code you have and use this instead:

    .A input { width: 150px; min-height: 50px; word-break : break-word; }

    .B input { width: 150px; min-height: 50px; word-break : break-word; }

    .C input { width: 150px; min-height: 50px; word-break : break-word;}

    .D input { width: 150px; min-height: 50px; word-break : break-word;}

    td, th {

    word-break : break-word;



    See if that would work with you, I've cloned your form and you can check the demo change here: http://form.jotformpro.com/form/50394252201949?.

    I hope this helps.

    Thank you.

  • Profile Image

    Answered by ferranma on February 09, 2015 at 03:16 PM

    I'm sorry, but with your demo form i can't write 2 or more lines of text in a cell... 


    I've tryed to copy your css to the wiget css and don't work...


    also, how can i change the name of the cel "A"  with the text of the cell A1

    "B" "b1"

    "C" "c1"

    "d"  "d1"

    is it possible?


    Sorry, beacause i don't know so much about jot form and less about css



  • Profile Image

    Answered by Ben on February 09, 2015 at 04:41 PM

    Yes, that is correct, you can not write more than one line, because the browser itself would not allow it. The input field that is used in the spreadsheet is not intended to be written anything that would go in multiple lines (for which textarea is).

    What I think would be best for you is the Configurable List widget.

    It will allow you to add the headers as you want them and to add the type of the fields that you need on the jotform - it does not look like the spreadsheet though.

    You can see more about it here: How to Set Up the Configurable List Widget

    Now in regards to your question about the column headers in the spreadsheet widget, I have moved that to a new thread here: http://www.jotform.com/answers/512695 where we will be responding to shortly and show you how you can change the column headers.