You are viewing limited content. For full access, please sign in.

Question

Question

set 1 field within a table to read only?

asked on October 20, 2015

How would I go about on using jquery or css to make 1 field within a table read only?  Thanks.

 

0 0

Answer

SELECTED ANSWER
replied on October 20, 2015

Use an inspector to find the field name

and then you can use JS like

$(document).ready(function () {
  
  $('[name="Field7(8)"]').attr('readonly', true);
  
});

with the resulting form being

0 0

Replies

replied on October 20, 2015

thanks for the help and tip Alex.

0 0
replied on October 22, 2015

Hi All,

  What is the inspector tool used above ?

Thanks

0 0
replied on October 22, 2015

It's the developer tools in Firefox. Just press F12 to bring it up.

0 0
replied on October 26, 2015

Thanks :)

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.