How to disable Save and Apply buttons for regular end user on custom Change Request form?
Best Answer
-
john_doyle Cireson Support Ninja IT Monkey ✭✭✭✭You can remove the Save and Apply buttons for end users by adding this code to your custom.js file:
app.custom.formTasks.add('ChangeRequest',null, function(formObj, viewModel){ <br> formObj.boundReady(function () {<br> if (!session.user.Analyst)<br> $("#drawer-taskbar > button:nth-child(-n+2)").hide(); <br> })<br>});
1
Answers
Then just target your custom form to whichever group makes the most sense.
More information on custom forms can be found in the below KB:
https://support.cireson.com/KnowledgeBase/View/51
Cheers
Joe