This article will show how to set a Visible field Hidden using User Event Script.
This example will remove the Notify Assignee by Email checkbox on a Task record.
- Create a new user event script through Customization > Scripting > Scripts > New > User Event
- Enter information needed on the Basic Information:
Name: (script name)
Scripts > Script File: Upload the sample script below
Before Load Function: fieldEdit (name of the function)
Deployments > Applies to: Task
Deployed: Yes
Status: Released - Save the script record
Sample script:
function fieldEdit(){var field = nlapiGetField('sendemail'); //this is the field to be set to hiddenfield.setVisible(false);}
No comments:
Post a Comment