How to disable select field option?

Community Alums
Not applicable

We were using a script from servicenowguru to Disable/Enable Select Option.

Suddenly, after Jakarta upgrade, it stopped working.

Tried jQuery and DOM way to put it to work, but could not. Did anyone have this issue and solved it?

please share you thoughts.

find_real_file.png

In this picture, Pre-Approved must be greyed out, it was and not anymore.

7 REPLIES 7

Community Alums
Not applicable

Thank you Brian and Hardit.


I will try your solutions and post my comments soon.


mikemorales
Kilo Guru

Hi Rajini,



Maybe I am not fully understanding your requirements.   Why not just set the entry to Inactive = true?   This would prevent it from appearing in the list, but if you have a BR or something else that needs to set it, it is still available.



find_real_file.png



Thanks,


Mike


Community Alums
Not applicable

Brian Tuy,



Your solution worked best. Thank you.