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

  • Profile Image
    topprime
    Asked on August 27, 2019 at 04:41 PM

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



    This is a re-post of a comment on How to Perform Form Calculation in the Input Table Field?

  • Profile Image
    BDAVID
    Answered on August 27, 2019 at 05: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.gif

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


  • Profile Image
    topprime
    Answered on August 27, 2019 at 05:49 PM

    And how can i disable all that columns?

    Edit: i got it. Thanks for your time.

     

  • Profile Image
    denis_calin
    Answered on August 27, 2019 at 06:09 PM

    Hi @topprime!

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