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
battk
07/14/2021, 4:44 AM
the workflow runs after your user event, so its unlikely that button exists for the before load user event to manipulate
battk
07/14/2021, 4:45 AM
you are better off adding client script in the user event to control the button
c
Chris
07/14/2021, 11:58 AM
I was originally trying a a client script, but I wanted to manipulate the button in view mode which didn't seem possible
b
battk
07/14/2021, 12:09 PM
you would have to do dom manipulation using javascript
c
Chris
07/14/2021, 12:16 PM
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