Hide field (element) by sys_id

nealratner
Mega Expert

Has anyone tried (and hopefully succeeded) in hiding a form element by sys_id?   The standard way to hide a form field is:

setDisplay(fieldName, boolean)

But what if I just wanted to identify the field by sys_id '11e7374a4f37f6041fee7fe24210c737'

I am really trying to hide specific annotation fields and embedded lists...ctomasi

11 REPLIES 11

This is working at my instance (istanbul version)


-Anurag

nealratner
Mega Expert

Using in a UI Policy...should I tried onLoad Client script?   just to test?



weird, i just tried that and get:




onChange script error: TypeError: list.hasClassName is not a function function (){var o=i(m,arguments);return l.apply(n,o)}