In the Risk Register I wants to add new field and it might be read only when user create new Risk
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2025 05:31 AM
function onLoad() {
if (g_form.isNewRecord()) {
g_form.setReadOnly('u_threat_actor', 'false');
} else {
g_form.setReadOnly('u_threat_actor', 'true');
}
}
checked that it is overriding the business rules, client scripts, and UI policies.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2025 08:51 PM
But my requirement is the ,that field needs to be read-only new records only