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 Field: How to disable specific rows?

    Asked by cpayne0 on April 26, 2017 at 06:15 PM
    Is there a way to block specific rows in specific columns? 
  • Profile Image
    JotForm Support

    Answered by Kevin_G on April 26, 2017 at 06:22 PM

    There is not a feature to disable rows or columns in the matrix field; however, injecting some CSS code could help you to achieve it. 

    For example, if you need to disable the first row of fields you could inject this code: 

    .form-matrix-table tr:nth-child(2) td input {

        pointer-events: none;


    If you would need to apply the code to a different row then you would only need to change the number in the "nth-child" selector, it starts in 2 since the first row contains the column headers. 

    This guide will help you to inject the given code to your form: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Hope this helps.

  • Profile Image

    Answered by cpayne0 on April 26, 2017 at 10:21 PM

    Thanks for the reply! Is there a way to block a single radio button? Like say, column 4, row 3?

  • Profile Image

    Answered by Ian on April 26, 2017 at 11:56 PM

    You need to find the ids of the field https://www.jotform.com/help/146-How-to-find-field-IDs-and-names and then apply the css to individual field

    If you face any issue then let us know the form and the specific field you are having trouble with.