I'm trying to limit the list of departments for certain roles on the items sublist for transactions.
I've written a script that will throw a pop-up informing the user that their role is not allowed to use that department when selected.
I reference a custom field on the department record where I select roles I don't want to be able to use the department.
My question is, is it possible to completely remove an option from a list of values using a client script? It would be cleaner than the method I am using.