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 to disable the first two columns of the matrix table making it unclickable.

    Asked by choza on June 03, 2015 at 02:40 PM

    I would like to make a matrix that has multiple columns 'locked' - as in 2 columns on the left side with descriptive elements that cannot be changed and then the rest of the columns as answer columns.


    Please advise!


    Thanks so much!

  • Profile Image
    JotForm Support

    Answered by Mike_G on June 03, 2015 at 04:38 PM

    I suppose you are pertaining to a Matrix with textboxes. 

    I understand that you would like the first two columns locked or become read-only.

    You can either,

    1. Add "disabled" to the <input> element of the <html> source code of your form: 


    And when you embed it to your website, 

    It would result to this. 


    2. Add custom CSS codes to the Matrix using this guide.

    .form-matrix-table td:nth-child(-n+3) input{

    opacity: .5;

    pointer-events: none;}

    This would make the input field of the first and second column of the matrix table unclickable.

    I hope this helps. Let us know if you need further assistance. Thank you.

  • Profile Image

    Answered by academicproofreading on August 30, 2016 at 10:20 PM

    This is a great answer - is there a way to make only the second column read-only (using CSS)?
  • Profile Image
    JotForm Support

    Answered by beril on August 31, 2016 at 03:41 AM

    On behalf of my colleague, you're most welcome. I've created a separate thread for you, so anyone in the support staff will be able to assist you with your specific requirement. Please follow up there: