Is it possible to remove a workflow button in View...
# suitescript
c
Is it possible to remove a workflow button in View mode on a BeforeLoad? I see some solutions where they add a form field that adds HTML to hide the button.
b
the workflow runs after your user event, so its unlikely that button exists for the before load user event to manipulate
you are better off adding client script in the user event to control the button
c
I was originally trying a a client script, but I wanted to manipulate the button in view mode which didn't seem possible
b
you would have to do dom manipulation using javascript
c
Yea, but is there a simple way to get the client script to run?. I think I just stumbled upon a possible solution of attaching a client script to a user event script
b
c
ah thank you