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

    Matrix header width and checkbox spread column width

    Asked by pdxhomevet on July 15, 2016 at 07:44 PM

    Hi,

    I'm sorry to be dense, but CSS isn't my thing, and I've read other threads, but I just can't seem to get this to work.

    My survey can be found here:

    https://form.jotform.com/pdxhomevet/ahvs-2016-survey

    For the pages of the survey that uses a matrix, I want the overall matrix to be wider, but specifically, I want to widen where the description of each row is so it is more readable and not condense to just one or two words per line.

    This changed when I added a theme, which now sees to be a mistake, but I'd like to figure this out if I need to solve this problem again.

    The other thing I would like to solve is if I choose to spread a list of checkboxes over two columns, I'd like to create some separation between the two column of check boxes.  I don't want the description of each checkbox to wrap, because it doesn't look good that way because when they wrap, they don't align well with the text above it.  I'd like the columns of check boxes to be further apart.

    Thank you for any help that anyone can provide on either of these issues.

    Ryan

    Page URL:
    https://form.jotform.com/pdxhomevet/ahvs-2016-survey

    checkboxes spreadcolumn matrix width checbox width
  • Profile Image
    JotForm Support

    Answered by jonathan on July 16, 2016 at 12:46 AM

    For the spread checkboxes, this is the CSS code to use

     

    .form-multiple-column .form-checkbox-item {

        margin-right : 110px;

    }

    .form-multiple-column {

        width : 650px;

    }

    .form-checkbox-item label  {

        width : 350px;

    }

    .form-radio-item label {

        width : 350px;

    }

     

    The margin-right I have highlighted above is the number that controls the 2nd column right position.

    The actual result should be like this.

     

    For the matrices, add this CSS codes

     

    .form-matrix-table {

        width: 100%;

        max-width: 650px;

    }

     

    You can check my test form https://form.jotform.com/61968690433971

    Let us know how it goes for you.

  • Profile Image

    Answered by pdxhomevet on July 16, 2016 at 09:52 PM

    That did the trick.  Thanks so much!!