- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 11:18 AM
How to write an “On Load” client script on any INC table to make twp fields mandatory ?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2020 04:54 PM
Hi Rohit,
Please go to client scripts under system definition. And click on the "New" button on the list view. Enter the name and select table as Incident and select type is onload and UI type is all. And replace field names in the below script.
(or)
You can do it through the UI policy also.
Please go to system definition -> Ui policies and selects new from list view
Select the table "incident" and filter condition if applicable.
And create UI policy actions related list click on new and select those fields and make mandatory as true
Please mark as helpful (or) correct if it fixes your issue.
Thanks,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2020 06:55 AM
Thank you for your response.