I have a button created on a suitelet form that I ...
# suitescript
a
I have a button created on a suitelet form that I need to disable based on a field change but I can't figure out a way to access the button from the client script fieldChanged scope.
b
not a thing doable in suitescript
use regular javascript
a
What property disables buttons with pure JS? The Button.disabled property does nothing
Also setting the disabled attribute does nothing
b
disabled should disable the button
clicking it should do nothing
a
Oh ok I guess didn't notice. I need it to gray out anyway so that won't be enough
b
netsuite does this by the class of the tr
change it to pgBntGDis