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

Question

Question

Drop Down field not being set to read only

asked on April 20, 2018

I'm running into the issue where a dropdown field is not being set to read only.  I referenced a post that mentioned I need to disable the field in order to make it read-only.  And that is also not working.

$(document).ready(function () {

   $('.site select').attr('disabled',true);
  
});

I can still use the dropdown.  Any other issues that I may not be seeing?

0 0

Answer

SELECTED ANSWER
replied on April 20, 2018 Show version history

That should work. In the custom CSS class for the field do you have it set as "site" with or without the "."? If the period is there, it wouldn't add the class name correctly and could explain why your function isn't working.

1 0
replied on April 20, 2018

You sir are a wizard.  I definatly copy pasted into the CSS field with the period.  So small I couldn't even see it.

Thanks a ton!

0 0

Replies

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

Sign in to reply to this post.