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

    Line break in a cell of the spreadsheet plugin

    Asked by domainedelaguerie on March 07, 2016 at 08:08 AM

    Hello,

    I have to insert a spreadsheet in my form.

    In column A, I have a quite long text to describe the product.

    With the FAQ I have found a way to change the width of the column A but my text is still too long to get into it.

    I would like to have a linebreak /
    in my cell. Can I put some code in the CSS to manage that ?

    An by the way, can I have "euros" in my table for prices ?

    Thank you for your answer.

     

    Screenshot
    line break css line break
  • Profile Image
    JotForm Support

    Answered by BJoanna on March 07, 2016 at 12:30 PM

    I have inspected your form http://www.jotform.com/60643953095360 and it seems that you were able to resolve your issue. Product text inside of Spreadsheet widget is not cut off and I saw that you have set "euros" in total table price. 

    Feel free to contact us if you have any other questions. 

  • Profile Image

    Answered by domainedelaguerie on March 08, 2016 at 04:20 AM

    Hello,

    thank you for your answer.

    I first didn't understand it because I haven't seen the same when I have checked my form but I finally found the problem : with Chrome no problem it reads the command "word-break" I used but Firefox doesn't understand it.

    here is the code I have put in the CSS (I found it in the forum)


    td, th {
    word-break : break-word;
    }

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

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

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

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

    td, th, tr {

    word-break : break-word;

    }

     

    Do you know an equivalent for Firefox ?

     

    Thank you very much

     

  • Profile Image
    JotForm Support

    Answered by Mike on March 08, 2016 at 10:34 AM

    Unfortunately, I have not found any equivalent CSS that can be used to implement the line breaks in Firefox and Internet Explorer.