I need to make one of the columns in the Input Table read-only.

  • topprime
    Asked on August 27, 2019 at 4:41 PM

    Hey guys. I need to make one of the columns read-only, how can i do it?

  • David JotForm Support Manager
    Replied on August 27, 2019 at 5:32 PM

    There is no option in the Input Table to make certain cells read-only, however, a workaround would be disabling the input through CSS injection.

    I assume that you would like to disable the input on last column of the Input Table located in the following form: https://www.jotformz.com/form/92336204473656

    Please inject this code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    #input_28_0_2,#input_28_1_2,#input_28_2_2,#input_28_3_2,#input_28_4_2,#input_28_5_2,#input_28_6_2,#input_28_7_2,#input_28_8_2,#input_28_9_2,#input_28_10_2{

    pointer-events: none !important;

    }

    Result:

    1566941511noinput Screenshot 10

    Let us know if you need more help, we will be glad to assist you.


  • topprime
    Replied on August 27, 2019 at 5:49 PM

    And how can i disable all that columns?

    Edit: i got it. Thanks for your time.

     

  • denis_calin Jotform Support
    Replied on August 27, 2019 at 6:09 PM

    Hi @topprime!

    We are glad you were able to figure it out! Please let us know if you have any other questions.